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.001531/0.001531, allocations: 113.1 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 188.8 kB / 18.01 MB, free: 5.098 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 72.22 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 76.18 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.633/0.786, allocations: 195.1 MB / 0.8233 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.8034, allocations: 14.31 MB / 0.8372 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.8056, allocations: 37.28 kB / 0.8373 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.8073, allocations: 0.5038 MB / 0.8378 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006859/0.8143, allocations: 1.884 MB / 0.8396 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.8177, allocations: 0.8637 MB / 0.8404 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004252/0.822, allocations: 2.572 MB / 0.843 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.8237, allocations: 1.126 MB / 0.8441 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005012/0.8287, allocations: 1.609 MB / 0.8456 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.8308, allocations: 0.9296 MB / 0.8465 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.831, allocations: 105.8 kB / 0.8466 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.8339, allocations: 1.107 MB / 0.8477 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.8344, allocations: 0.4897 MB / 0.8482 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.8353, allocations: 0.6354 MB / 0.8488 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.8386, allocations: 1.908 MB / 0.8507 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8386, allocations: 0 / 0.8507 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8386, allocations: 3.062 kB / 0.8507 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.8386, allocations: 0 / 0.8507 GB, free: 12.45 MB / 0.6075 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.002365/0.841, allocations: 1.45 MB / 0.8521 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.8411, allocations: 11.25 kB / 0.8521 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.8425, allocations: 254.5 kB / 0.8523 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.8439, allocations: 0.7886 MB / 0.8531 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.8439, allocations: 69.12 kB / 0.8532 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.8441, allocations: 104.9 kB / 0.8533 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.8458, allocations: 1.169 MB / 0.8544 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.8459, allocations: 0 / 0.8544 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.846, allocations: 40 kB / 0.8545 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.846, allocations: 33.94 kB / 0.8545 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8473, allocations: 0.9054 MB / 0.8554 GB, free: 8.301 MB / 0.6075 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.005617/0.8529, allocations: 5.735 MB / 0.861 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.8538, allocations: 0.5435 MB / 0.8615 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.8542, allocations: 326.5 kB / 0.8618 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.8548, allocations: 307.8 kB / 0.8621 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.8549, allocations: 46.92 kB / 0.8622 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 4.148e-06/0.8549, allocations: 0 / 0.8622 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.00152/0.8564, allocations: 0.7948 MB / 0.8629 GB, free: 28 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.8565, allocations: 63.78 kB / 0.863 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.8575, allocations: 0.7508 MB / 0.8637 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.8576, allocations: 37.7 kB / 0.8638 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.8579, allocations: 0.5104 MB / 0.8643 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.8581, allocations: 181.5 kB / 0.8644 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.8583, allocations: 138.5 kB / 0.8646 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8585, allocations: 341.9 kB / 0.8649 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.8589, allocations: 245.9 kB / 0.8651 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.8595, allocations: 0.5546 MB / 0.8657 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.8606, allocations: 0.7957 MB / 0.8665 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.8606, allocations: 4 kB / 0.8665 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001309/0.8619, allocations: 0.8499 MB / 0.8673 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.862, allocations: 12 kB / 0.8673 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.862, allocations: 8.844 kB / 0.8673 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.862, allocations: 12 kB / 0.8673 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.8626, allocations: 155.8 kB / 0.8675 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.8626, allocations: 19.92 kB / 0.8675 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.8634, allocations: 87.11 kB / 0.8676 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.8635, allocations: 32 kB / 0.8676 GB, free: 10.95 MB / 0.6231 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.0005105/0.864, allocations: 333.4 kB / 0.8679 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.8641, allocations: 82.97 kB / 0.868 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.8652, allocations: 0.6257 MB / 0.8686 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8652, allocations: 7.938 kB / 0.8686 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.8652, allocations: 0 / 0.8686 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007358/0.8659, allocations: 0.5134 MB / 0.8691 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.8684, allocations: 1.675 MB / 0.8707 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.8684, allocations: 0 / 0.8707 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.869, allocations: 115.8 kB / 0.8709 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.869, allocations: 4 kB / 0.8709 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.869, allocations: 8 kB / 0.8709 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.869, allocations: 4 kB / 0.8709 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.869, allocations: 8.156 kB / 0.8709 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.8704, allocations: 1.019 MB / 0.8719 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.8708, allocations: 223.9 kB / 0.8721 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.8709, allocations: 12 kB / 0.8721 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.8713, allocations: 19.92 kB / 0.8721 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.8714, allocations: 35.89 kB / 0.8722 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.8715, allocations: 16 kB / 0.8722 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000784/0.8722, allocations: 0.5146 MB / 0.8727 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8723, allocations: 4 kB / 0.8727 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009872/0.8733, allocations: 303.3 kB / 0.873 GB, free: 5.285 MB / 0.6231 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.0005752/0.8738, allocations: 202.4 kB / 0.8732 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009932/0.8748, allocations: 0.612 MB / 0.8738 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8749, allocations: 3.938 kB / 0.8738 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.8752, allocations: 275.5 kB / 0.874 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.8771, allocations: 440.7 kB / 0.8744 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.8803, allocations: 2.012 MB / 0.8764 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.8811, allocations: 1.125 MB / 0.8775 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.8813, allocations: 79.42 kB / 0.8776 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.8813, allocations: 0 / 0.8776 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of Templates: time 0.02723/0.9086, allocations: 14.63 MB / 0.8919 GB, free: 1.977 MB / 0.6387 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)