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.001314/0.001314, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001463/0.001463, allocations: 169.8 kB / 22.46 MB, free: 5.359 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.0025/0.0025, allocations: 237.8 kB / 259.4 MB, free: 484 kB / 238.1 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 1.1/1.1, allocations: 138.4 MB / 454.3 MB, free: 2.031 MB / 366.1 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.563e-06/1.563e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.69e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.5005/0.5005, allocations: 172.5 MB / 0.8152 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.5204, allocations: 13.1 MB / 0.828 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.5221, allocations: 51.56 kB / 0.8281 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.524, allocations: 0.5006 MB / 0.8286 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.5305, allocations: 1.99 MB / 0.8305 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.5341, allocations: 0.9417 MB / 0.8314 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004924/0.539, allocations: 2.625 MB / 0.834 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.5405, allocations: 0.8034 MB / 0.8348 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.5462, allocations: 1.975 MB / 0.8367 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.5481, allocations: 0.8747 MB / 0.8376 GB, free: 13.01 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.5483, allocations: 111.9 kB / 0.8377 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5509, allocations: 0.9464 MB / 0.8386 GB, free: 11.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.5516, allocations: 0.5337 MB / 0.8391 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.5523, allocations: 459 kB / 0.8395 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.556, allocations: 1.951 MB / 0.8414 GB, free: 9.012 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.556, allocations: 0 / 0.8414 GB, free: 9.012 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.964e-06/0.556, allocations: 0 / 0.8414 GB, free: 9.012 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.556, allocations: 0 / 0.8414 GB, free: 9.012 MB / 0.67 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.002636/0.5586, allocations: 1.395 MB / 0.8428 GB, free: 7.578 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5587, allocations: 9.344 kB / 0.8428 GB, free: 7.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5601, allocations: 263 kB / 0.8431 GB, free: 7.312 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5616, allocations: 0.7245 MB / 0.8438 GB, free: 6.566 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.5617, allocations: 73.81 kB / 0.8438 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5619, allocations: 99.98 kB / 0.8439 GB, free: 6.398 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.564, allocations: 1.29 MB / 0.8452 GB, free: 5.008 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.564, allocations: 7.953 kB / 0.8452 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/0.5641, allocations: 36 kB / 0.8452 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.5641, allocations: 37.94 kB / 0.8453 GB, free: 4.926 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.5657, allocations: 0.8937 MB / 0.8462 GB, free: 4.031 MB / 0.67 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.006034/0.5718, allocations: 3.998 MB / 0.8501 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5728, allocations: 0.5232 MB / 0.8506 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.5732, allocations: 298.7 kB / 0.8509 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.5738, allocations: 84.42 kB / 0.8509 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.5738, allocations: 39.06 kB / 0.851 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/0.5738, allocations: 0 / 0.851 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.001888/0.5757, allocations: 0.7972 MB / 0.8518 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.5758, allocations: 55.91 kB / 0.8518 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5768, allocations: 0.6527 MB / 0.8524 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/0.5769, allocations: 37.7 kB / 0.8525 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.5774, allocations: 0.5178 MB / 0.853 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.5776, allocations: 190.3 kB / 0.8532 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.5779, allocations: 146.6 kB / 0.8533 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000357/0.5783, allocations: 382.8 kB / 0.8537 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.5788, allocations: 245.9 kB / 0.8539 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.5798, allocations: 0.8347 MB / 0.8547 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5809, allocations: 0.8044 MB / 0.8555 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5809, allocations: 0 / 0.8555 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001576/0.5825, allocations: 0.844 MB / 0.8563 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5825, allocations: 8 kB / 0.8563 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5826, allocations: 8.844 kB / 0.8563 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.5826, allocations: 12 kB / 0.8564 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.5832, allocations: 159.7 kB / 0.8565 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.5833, allocations: 12 kB / 0.8565 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.5841, allocations: 79.5 kB / 0.8566 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.5841, allocations: 39.98 kB / 0.8566 GB, free: 8.801 MB / 0.6856 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.0006005/0.5847, allocations: 321.5 kB / 0.8569 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5849, allocations: 83.42 kB / 0.857 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.5861, allocations: 0.6225 MB / 0.8576 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5861, allocations: 4 kB / 0.8576 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5861, allocations: 48 / 0.8576 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008614/0.5869, allocations: 0.5265 MB / 0.8581 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.5897, allocations: 1.436 MB / 0.8595 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.5897, allocations: 5.938 kB / 0.8596 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.5902, allocations: 112.1 kB / 0.8597 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.5902, allocations: 4 kB / 0.8597 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.5903, allocations: 14.81 kB / 0.8597 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.5903, allocations: 7.984 kB / 0.8597 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5903, allocations: 3.938 kB / 0.8597 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.592, allocations: 1.013 MB / 0.8607 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.5923, allocations: 147.3 kB / 0.8608 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.5924, allocations: 8 kB / 0.8608 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5929, allocations: 19.98 kB / 0.8608 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.593, allocations: 39.83 kB / 0.8609 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.593, allocations: 23.98 kB / 0.8609 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006342/0.5936, allocations: 443 kB / 0.8613 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.5936, allocations: 0 / 0.8613 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001039/0.5947, allocations: 311.3 kB / 0.8616 GB, free: 3.566 MB / 0.6856 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.0006508/0.5953, allocations: 193.2 kB / 0.8618 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5964, allocations: 0.5887 MB / 0.8624 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5964, allocations: 0 / 0.8624 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.5968, allocations: 263.8 kB / 0.8626 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.5986, allocations: 379.4 kB / 0.863 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.6019, allocations: 1.835 MB / 0.8648 GB, free: 324 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.6025, allocations: 0.5257 MB / 0.8653 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007299/0.6032, allocations: 257.6 kB / 0.8656 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6034, allocations: 68.48 kB / 0.8656 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/0.6034, allocations: 0 / 0.8656 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of Templates: time 0.02739/0.6308, allocations: 14.33 MB / 0.8796 GB, free: 1.512 MB / 0.7012 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.941153947263956] Failed to read output from testmodel.py, exit status != 0: 0.6401914171874523 0.658608965 0.09769504100000001 Calling exit ...