Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 164.3 kB / 23.02 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8272/0.8272, allocations: 101.3 MB / 361.1 MB, free: 9.504 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.73 kB / 0.5356 GB, free: 5.207 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1629, allocations: 85.89 MB / 0.6195 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6203/0.7831, allocations: 172.6 MB / 0.7881 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8017, allocations: 13.16 MB / 0.801 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.8032, allocations: 47.78 kB / 0.801 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.8048, allocations: 497 kB / 0.8015 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.81, allocations: 1.942 MB / 0.8034 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.8126, allocations: 0.8905 MB / 0.8042 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.8158, allocations: 2.617 MB / 0.8068 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.8171, allocations: 0.7927 MB / 0.8076 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.8215, allocations: 1.672 MB / 0.8092 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.8232, allocations: 0.9606 MB / 0.8101 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.8234, allocations: 106.6 kB / 0.8102 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.8253, allocations: 0.9378 MB / 0.8112 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005646/0.8259, allocations: 0.5051 MB / 0.8117 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006767/0.8266, allocations: 0.5269 MB / 0.8122 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.8292, allocations: 1.909 MB / 0.814 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8292, allocations: 4 kB / 0.814 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8292, allocations: 0 / 0.814 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.8292, allocations: 0 / 0.814 GB, free: 14.25 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002321/0.8315, allocations: 1.407 MB / 0.8154 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.8316, allocations: 8.031 kB / 0.8154 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.833, allocations: 263 kB / 0.8157 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.8345, allocations: 0.7284 MB / 0.8164 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.8345, allocations: 81.98 kB / 0.8165 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.8347, allocations: 92 kB / 0.8165 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.8368, allocations: 1.298 MB / 0.8178 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.8369, allocations: 3.938 kB / 0.8178 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/0.837, allocations: 36 kB / 0.8178 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.837, allocations: 37.94 kB / 0.8179 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.8386, allocations: 0.9015 MB / 0.8188 GB, free: 9.234 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.8438, allocations: 3.983 MB / 0.8227 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.8447, allocations: 0.4975 MB / 0.8231 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.8451, allocations: 291.9 kB / 0.8234 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.8456, allocations: 80.41 kB / 0.8235 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.8456, allocations: 43.06 kB / 0.8235 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.8456, allocations: 0 / 0.8235 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001584/0.8472, allocations: 0.7932 MB / 0.8243 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.8473, allocations: 59.91 kB / 0.8244 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.8481, allocations: 0.6604 MB / 0.825 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.8482, allocations: 37.7 kB / 0.8251 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.8487, allocations: 0.5194 MB / 0.8256 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8489, allocations: 190.4 kB / 0.8257 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.8491, allocations: 142.6 kB / 0.8259 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.8493, allocations: 390.7 kB / 0.8262 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.8497, allocations: 245.9 kB / 0.8265 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.8505, allocations: 0.8618 MB / 0.8273 GB, free: 64 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8517, allocations: 0.8005 MB / 0.8281 GB, free: 15.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.8517, allocations: 4 kB / 0.8281 GB, free: 15.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001341/0.853, allocations: 0.8442 MB / 0.8289 GB, free: 14.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.853, allocations: 8 kB / 0.8289 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.853, allocations: 8 kB / 0.8289 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.8531, allocations: 12.72 kB / 0.829 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.8537, allocations: 152.9 kB / 0.8291 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.8537, allocations: 23.92 kB / 0.8291 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.8544, allocations: 83.38 kB / 0.8292 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.8545, allocations: 36 kB / 0.8292 GB, free: 13.98 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.855, allocations: 333.5 kB / 0.8296 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.8551, allocations: 75.53 kB / 0.8296 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.8562, allocations: 0.6108 MB / 0.8302 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8562, allocations: 8 kB / 0.8302 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8562, allocations: 0.875 kB / 0.8302 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007951/0.857, allocations: 0.5187 MB / 0.8307 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.8594, allocations: 1.433 MB / 0.8321 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.8594, allocations: 4 kB / 0.8321 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.86, allocations: 116 kB / 0.8323 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.86, allocations: 8 kB / 0.8323 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.86, allocations: 16 kB / 0.8323 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.86, allocations: 4 kB / 0.8323 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.86, allocations: 7.938 kB / 0.8323 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.8615, allocations: 1.048 MB / 0.8333 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.8619, allocations: 151.3 kB / 0.8335 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.862, allocations: 8 kB / 0.8335 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.8624, allocations: 16 kB / 0.8335 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.8625, allocations: 35.88 kB / 0.8335 GB, free: 9.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.8625, allocations: 23.98 kB / 0.8335 GB, free: 9.453 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000553/0.8631, allocations: 447 kB / 0.834 GB, free: 9.023 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8631, allocations: 0 / 0.834 GB, free: 9.023 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009704/0.864, allocations: 315.3 kB / 0.8343 GB, free: 8.715 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004885/0.8645, allocations: 201.5 kB / 0.8345 GB, free: 8.516 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.8655, allocations: 0.5817 MB / 0.835 GB, free: 7.938 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8655, allocations: 0 / 0.835 GB, free: 7.938 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.8659, allocations: 271.5 kB / 0.8353 GB, free: 7.672 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.8676, allocations: 369.9 kB / 0.8356 GB, free: 7.316 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.8706, allocations: 1.914 MB / 0.8375 GB, free: 5.352 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.8712, allocations: 0.5235 MB / 0.838 GB, free: 4.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000698/0.8719, allocations: 254.3 kB / 0.8383 GB, free: 4.539 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.8721, allocations: 68.48 kB / 0.8383 GB, free: 4.469 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.8721, allocations: 0 / 0.8383 GB, free: 4.469 MB / 0.67 GB Notification: Performance of Templates: time 0.02672/0.8988, allocations: 14.51 MB / 0.8525 GB, free: 6.328 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.673189983004704] Failed to read output from testmodel.py, exit status != 0: 0.9068979689618573 0.921694087 0.089394315 Calling exit ...