Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 97.05 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 173.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6582/0.6582, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 16.92 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 77.16 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4327/0.5749, allocations: 161.8 MB / 0.7148 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.5895, allocations: 12.17 MB / 0.7267 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.5907, allocations: 31.81 kB / 0.7267 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.5923, allocations: 493.7 kB / 0.7272 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.5968, allocations: 1.562 MB / 0.7287 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.5995, allocations: 0.9418 MB / 0.7296 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002489/0.602, allocations: 1.484 MB / 0.7311 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.6032, allocations: 0.8162 MB / 0.7319 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.6056, allocations: 1.11 MB / 0.733 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.6067, allocations: 0.6189 MB / 0.7336 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.6068, allocations: 48 kB / 0.7336 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.6083, allocations: 0.5382 MB / 0.7342 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.6087, allocations: 411 kB / 0.7345 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.609, allocations: 253.1 kB / 0.7348 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.6104, allocations: 1.317 MB / 0.7361 GB, free: 2.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6104, allocations: 0 / 0.7361 GB, free: 2.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6104, allocations: 0 / 0.7361 GB, free: 2.293 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.6104, allocations: 0 / 0.7361 GB, free: 2.293 MB / 0.545 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.001906/0.6123, allocations: 1.235 MB / 0.7373 GB, free: 1.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6124, allocations: 16.02 kB / 0.7373 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.6137, allocations: 250.3 kB / 0.7375 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.6153, allocations: 0.7537 MB / 0.7383 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.6153, allocations: 70 kB / 0.7383 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.6155, allocations: 95.98 kB / 0.7384 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6172, allocations: 1.168 MB / 0.7396 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.6172, allocations: 3.938 kB / 0.7396 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.6173, allocations: 36 kB / 0.7396 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.6174, allocations: 45.58 kB / 0.7396 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6187, allocations: 0.9015 MB / 0.7405 GB, free: 13.57 MB / 0.5606 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.005449/0.6242, allocations: 5.747 MB / 0.7461 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.625, allocations: 0.5742 MB / 0.7467 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.6254, allocations: 149.5 kB / 0.7468 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.6255, allocations: 43 kB / 0.7469 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 2.364e-06/0.6255, allocations: 0 / 0.7469 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.001493/0.627, allocations: 0.8222 MB / 0.7477 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.627, allocations: 81.55 kB / 0.7478 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.6279, allocations: 0.7547 MB / 0.7485 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.628, allocations: 41.7 kB / 0.7485 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.6283, allocations: 0.4949 MB / 0.749 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.6285, allocations: 189.4 kB / 0.7492 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.6285, allocations: 16 kB / 0.7492 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6286, allocations: 341.9 kB / 0.7495 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.629, allocations: 249.8 kB / 0.7498 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.6296, allocations: 0.5692 MB / 0.7503 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.6301, allocations: 364.6 kB / 0.7507 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6301, allocations: 4 kB / 0.7507 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001245/0.6314, allocations: 0.8578 MB / 0.7515 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6314, allocations: 13.97 kB / 0.7515 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6314, allocations: 8 kB / 0.7516 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6314, allocations: 16.08 kB / 0.7516 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.632, allocations: 156.5 kB / 0.7517 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.632, allocations: 23.92 kB / 0.7517 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.6329, allocations: 147 kB / 0.7519 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.633, allocations: 35.98 kB / 0.7519 GB, free: 1.207 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.6335, allocations: 337.4 kB / 0.7522 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6336, allocations: 82.97 kB / 0.7523 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.6346, allocations: 0.6297 MB / 0.7529 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6346, allocations: 4 kB / 0.7529 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6346, allocations: 0 / 0.7529 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007051/0.6353, allocations: 0.5328 MB / 0.7535 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.638, allocations: 1.773 MB / 0.7552 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.638, allocations: 8.25 kB / 0.7552 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.6385, allocations: 111.9 kB / 0.7553 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.6386, allocations: 4.875 kB / 0.7553 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.6386, allocations: 23.94 kB / 0.7553 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.6386, allocations: 4 kB / 0.7553 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6386, allocations: 7.938 kB / 0.7553 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6399, allocations: 1.133 MB / 0.7564 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.6404, allocations: 231.9 kB / 0.7567 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6405, allocations: 12 kB / 0.7567 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.6411, allocations: 75.78 kB / 0.7567 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.6411, allocations: 39.91 kB / 0.7568 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.6412, allocations: 16 kB / 0.7568 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006044/0.6418, allocations: 0.5107 MB / 0.7573 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6418, allocations: 0 / 0.7573 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009044/0.6427, allocations: 303.3 kB / 0.7576 GB, free: 11.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004537/0.6432, allocations: 210.4 kB / 0.7578 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009463/0.6441, allocations: 0.6162 MB / 0.7584 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6441, allocations: 0 / 0.7584 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.6445, allocations: 280.4 kB / 0.7587 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6464, allocations: 431.3 kB / 0.7591 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.6495, allocations: 2.39 MB / 0.7614 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.6502, allocations: 1.138 MB / 0.7625 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009157/0.6512, allocations: 283.3 kB / 0.7628 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.6514, allocations: 79.41 kB / 0.7629 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.6514, allocations: 0 / 0.7629 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of Templates: time 0.02594/0.6774, allocations: 14.8 MB / 0.7773 GB, free: 7.145 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)