Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001526/0.001526, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001722/0.001722, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8721/0.8721, allocations: 154.8 MB / 415.1 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5206 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.843e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5015/0.5015, allocations: 192.3 MB / 0.7084 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.5165, allocations: 14.68 MB / 0.7228 GB, free: 46.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.5182, allocations: 49.56 kB / 0.7228 GB, free: 46.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.52, allocations: 0.4926 MB / 0.7233 GB, free: 46.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.5251, allocations: 1.987 MB / 0.7252 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.5276, allocations: 0.9511 MB / 0.7261 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.5318, allocations: 2.625 MB / 0.7287 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5334, allocations: 0.8334 MB / 0.7295 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005505/0.5389, allocations: 2.243 MB / 0.7317 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.5413, allocations: 0.8801 MB / 0.7326 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.5416, allocations: 107.8 kB / 0.7327 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.5441, allocations: 0.9292 MB / 0.7336 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.5448, allocations: 0.5402 MB / 0.7341 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.5458, allocations: 462.8 kB / 0.7346 GB, free: 45.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.5495, allocations: 1.438 MB / 0.736 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5495, allocations: 0.9062 kB / 0.736 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5495, allocations: 0 / 0.736 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.5496, allocations: 4.719 kB / 0.736 GB, free: 45.57 MB / 0.6355 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.002429/0.552, allocations: 1.522 MB / 0.7375 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.552, allocations: 10.91 kB / 0.7375 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5534, allocations: 350.1 kB / 0.7378 GB, free: 44.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5547, allocations: 0.7496 MB / 0.7385 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.5547, allocations: 73.78 kB / 0.7386 GB, free: 44.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.5549, allocations: 95.5 kB / 0.7387 GB, free: 44.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5562, allocations: 0.9604 MB / 0.7396 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.5562, allocations: 4.594 kB / 0.7396 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.5563, allocations: 43.34 kB / 0.7397 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.5564, allocations: 35.55 kB / 0.7397 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.5571, allocations: 377.8 kB / 0.7401 GB, free: 43.89 MB / 0.6355 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.003931/0.5611, allocations: 4.705 MB / 0.7447 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.5616, allocations: 276.2 kB / 0.7449 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5618, allocations: 142.9 kB / 0.7451 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.5621, allocations: 72.59 kB / 0.7451 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5621, allocations: 43.08 kB / 0.7452 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 3.386e-06/0.5621, allocations: 0.9688 kB / 0.7452 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0009274/0.5631, allocations: 464.3 kB / 0.7456 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5631, allocations: 54.94 kB / 0.7457 GB, free: 40.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.5637, allocations: 0.6635 MB / 0.7463 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.5638, allocations: 36.36 kB / 0.7464 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.5641, allocations: 0.5745 MB / 0.7469 GB, free: 40 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5643, allocations: 186.7 kB / 0.7471 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.5644, allocations: 154.2 kB / 0.7472 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5646, allocations: 0.5667 MB / 0.7478 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.5647, allocations: 91.53 kB / 0.7479 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.5651, allocations: 0.7967 MB / 0.7487 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.5657, allocations: 0.5903 MB / 0.7492 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5657, allocations: 3 kB / 0.7492 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007352/0.5664, allocations: 0.575 MB / 0.7498 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.5664, allocations: 6.844 kB / 0.7498 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5664, allocations: 13.69 kB / 0.7498 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.5665, allocations: 12.97 kB / 0.7498 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.5668, allocations: 156 kB / 0.75 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.5669, allocations: 18.8 kB / 0.75 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.5673, allocations: 74.77 kB / 0.7501 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.5674, allocations: 34.94 kB / 0.7501 GB, free: 37.93 MB / 0.6355 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.0002648/0.5677, allocations: 210.9 kB / 0.7503 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5678, allocations: 97.8 kB / 0.7504 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.5683, allocations: 381 kB / 0.7508 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5683, allocations: 5.812 kB / 0.7508 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5684, allocations: 1.062 kB / 0.7508 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003364/0.5687, allocations: 286.5 kB / 0.751 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.5703, allocations: 1.214 MB / 0.7522 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5703, allocations: 3 kB / 0.7522 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.5706, allocations: 109.6 kB / 0.7523 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.5706, allocations: 6.344 kB / 0.7523 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.5706, allocations: 19.77 kB / 0.7524 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.5706, allocations: 3 kB / 0.7524 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5706, allocations: 3.781 kB / 0.7524 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.5713, allocations: 0.6618 MB / 0.753 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.5715, allocations: 144.5 kB / 0.7531 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.5716, allocations: 14.09 kB / 0.7532 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.5718, allocations: 16.62 kB / 0.7532 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.5719, allocations: 36.03 kB / 0.7532 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.5719, allocations: 21.8 kB / 0.7532 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000306/0.5722, allocations: 406.2 kB / 0.7536 GB, free: 36.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5722, allocations: 3.125 kB / 0.7536 GB, free: 36.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008437/0.573, allocations: 309.3 kB / 0.7539 GB, free: 36.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0004644/0.5735, allocations: 194.3 kB / 0.7541 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.5741, allocations: 365.2 kB / 0.7544 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5741, allocations: 2.688 kB / 0.7545 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.5743, allocations: 157.7 kB / 0.7546 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5754, allocations: 396.7 kB / 0.755 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.5781, allocations: 1.653 MB / 0.7566 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.5783, allocations: 247 kB / 0.7568 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006042/0.5789, allocations: 213.4 kB / 0.757 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.579, allocations: 68.5 kB / 0.7571 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of SimCode: time 3.026e-06/0.579, allocations: 0 / 0.7571 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.02016/0.5992, allocations: 14.53 MB / 0.7713 GB, free: 33.95 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.839380891993642]