Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001103/0.001103, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001002/0.001002, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9981/0.9981, allocations: 177.1 MB / 203.4 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00242/0.00242, allocations: 232.6 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7524/0.7524, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.098e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.4082/0.4082, allocations: 151.9 MB / 0.7035 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006043/0.4143, allocations: 4.115 MB / 0.7075 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.4151, allocations: 51.56 kB / 0.7075 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.416, allocations: 282 kB / 0.7078 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.4185, allocations: 1.286 MB / 0.7091 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4201, allocations: 0.7948 MB / 0.7098 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002638/0.4228, allocations: 2.584 MB / 0.7124 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4238, allocations: 0.8285 MB / 0.7132 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.4261, allocations: 1.374 MB / 0.7145 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.4276, allocations: 0.8919 MB / 0.7154 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.4277, allocations: 108 kB / 0.7155 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4289, allocations: 0.5261 MB / 0.716 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.4294, allocations: 0.5415 MB / 0.7165 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.4299, allocations: 463 kB / 0.717 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.4317, allocations: 1.25 MB / 0.7182 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4317, allocations: 0 / 0.7182 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4317, allocations: 0 / 0.7182 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.4317, allocations: 0 / 0.7182 GB, free: 5.891 MB / 0.5261 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.001908/0.4336, allocations: 1.488 MB / 0.7197 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4337, allocations: 8.75 kB / 0.7197 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.4348, allocations: 355.5 kB / 0.72 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.436, allocations: 0.7396 MB / 0.7207 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.4361, allocations: 74 kB / 0.7208 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.4362, allocations: 99.98 kB / 0.7209 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.4374, allocations: 0.958 MB / 0.7218 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.4375, allocations: 3.938 kB / 0.7218 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.4375, allocations: 40 kB / 0.7219 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.4376, allocations: 33.94 kB / 0.7219 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.4384, allocations: 383.4 kB / 0.7223 GB, free: 1.527 MB / 0.5261 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.004095/0.4424, allocations: 4.699 MB / 0.7269 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.443, allocations: 283.1 kB / 0.7271 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.4432, allocations: 149.6 kB / 0.7273 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.4435, allocations: 53.33 kB / 0.7273 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4435, allocations: 45.88 kB / 0.7274 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 2.985e-06/0.4435, allocations: 0 / 0.7274 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.0009643/0.4445, allocations: 464.5 kB / 0.7278 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4445, allocations: 55.91 kB / 0.7279 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.4452, allocations: 0.6594 MB / 0.7285 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.4452, allocations: 37.7 kB / 0.7285 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.4457, allocations: 0.5728 MB / 0.7291 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.4458, allocations: 194.4 kB / 0.7293 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.446, allocations: 152.3 kB / 0.7294 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4462, allocations: 0.5625 MB / 0.73 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4464, allocations: 90.94 kB / 0.7301 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.4469, allocations: 0.8008 MB / 0.7308 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.4476, allocations: 0.5837 MB / 0.7314 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4476, allocations: 7.938 kB / 0.7314 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008799/0.4485, allocations: 0.5745 MB / 0.732 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4485, allocations: 8.969 kB / 0.732 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4485, allocations: 8 kB / 0.732 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.4485, allocations: 16 kB / 0.732 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.449, allocations: 155.7 kB / 0.7322 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.449, allocations: 15.94 kB / 0.7322 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.4494, allocations: 72.08 kB / 0.7323 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.4495, allocations: 35.98 kB / 0.7323 GB, free: 6.629 MB / 0.5417 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.0002196/0.4497, allocations: 208.3 kB / 0.7325 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4498, allocations: 95.48 kB / 0.7326 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000633/0.4504, allocations: 382.7 kB / 0.7329 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4505, allocations: 4.047 kB / 0.7329 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4505, allocations: 3.984 kB / 0.7329 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004156/0.4509, allocations: 291.2 kB / 0.7332 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.4525, allocations: 1.209 MB / 0.7344 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4525, allocations: 0 / 0.7344 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.4529, allocations: 112.6 kB / 0.7345 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4529, allocations: 4 kB / 0.7345 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.453, allocations: 12 kB / 0.7345 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.453, allocations: 7.938 kB / 0.7345 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.453, allocations: 14.94 kB / 0.7345 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.4538, allocations: 0.6624 MB / 0.7352 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4541, allocations: 139.3 kB / 0.7353 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.4541, allocations: 8 kB / 0.7353 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4544, allocations: 19.98 kB / 0.7354 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.4545, allocations: 39.88 kB / 0.7354 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.4545, allocations: 16 kB / 0.7354 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004919/0.455, allocations: 407 kB / 0.7358 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.455, allocations: 0 / 0.7358 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008571/0.4559, allocations: 311.3 kB / 0.7361 GB, free: 2.578 MB / 0.5417 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.0004839/0.4563, allocations: 178.9 kB / 0.7363 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.4568, allocations: 361.4 kB / 0.7366 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4568, allocations: 4 kB / 0.7366 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.457, allocations: 160.7 kB / 0.7368 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.458, allocations: 384 kB / 0.7371 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.4602, allocations: 1.659 MB / 0.7388 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.4604, allocations: 247.1 kB / 0.739 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005063/0.4609, allocations: 220.1 kB / 0.7392 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.461, allocations: 68.48 kB / 0.7393 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/0.461, allocations: 4 kB / 0.7393 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.01829/0.4793, allocations: 14.19 MB / 0.7531 GB, free: 1.523 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.639097262639552]