Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7567/0.7567, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 168.9 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009094/0.0009093, allocations: 94.16 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.064e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 76.75 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.09, allocations: 2.16 GB / 2.788 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/5.09, allocations: 90.39 kB / 2.788 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.669/7.759, allocations: 0.6577 GB / 3.446 GB, free: 89.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/7.759, allocations: 0 / 3.446 GB, free: 89.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001311/7.76, allocations: 28.47 kB / 3.446 GB, free: 89.35 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004455/7.764, allocations: 1.442 MB / 3.447 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/7.764, allocations: 9.062 kB / 3.447 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/7.766, allocations: 261.8 kB / 3.448 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/7.768, allocations: 0.8328 MB / 3.448 GB, free: 88.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/7.768, allocations: 82.7 kB / 3.448 GB, free: 88.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/7.769, allocations: 106.4 kB / 3.449 GB, free: 88.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/7.771, allocations: 1.239 MB / 3.45 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/7.771, allocations: 6.312 kB / 3.45 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/7.771, allocations: 43.81 kB / 3.45 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/7.771, allocations: 38.59 kB / 3.45 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/7.772, allocations: 0.9631 MB / 3.451 GB, free: 88.24 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005585/7.778, allocations: 6.078 MB / 3.457 GB, free: 84.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/7.778, allocations: 0.5838 MB / 3.457 GB, free: 84.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/7.779, allocations: 308.4 kB / 3.458 GB, free: 84.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/7.779, allocations: 213.2 kB / 3.458 GB, free: 84.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/7.779, allocations: 52 kB / 3.458 GB, free: 84.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.405e-06/7.779, allocations: 0 / 3.458 GB, free: 84.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001108/7.78, allocations: 0.582 MB / 3.458 GB, free: 84.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/7.78, allocations: 84.27 kB / 3.459 GB, free: 83.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/7.781, allocations: 0.7118 MB / 3.459 GB, free: 83.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/7.781, allocations: 36.55 kB / 3.459 GB, free: 83.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/7.782, allocations: 0.5511 MB / 3.46 GB, free: 83.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/7.782, allocations: 193.6 kB / 3.46 GB, free: 83.49 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/7.782, allocations: 18.5 kB / 3.46 GB, free: 83.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/7.782, allocations: 332.5 kB / 3.46 GB, free: 83.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/7.782, allocations: 266.4 kB / 3.461 GB, free: 83.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/7.783, allocations: 0.6144 MB / 3.461 GB, free: 82.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/7.784, allocations: 409.2 kB / 3.462 GB, free: 82.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/7.784, allocations: 6.359 kB / 3.462 GB, free: 82.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001267/7.785, allocations: 0.9706 MB / 3.463 GB, free: 82.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/7.785, allocations: 39.55 kB / 3.463 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/7.785, allocations: 14.25 kB / 3.463 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/7.785, allocations: 14.62 kB / 3.463 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/7.785, allocations: 178 kB / 3.463 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/7.786, allocations: 18.73 kB / 3.463 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/7.787, allocations: 160.1 kB / 3.463 GB, free: 82.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/7.787, allocations: 41.44 kB / 3.463 GB, free: 82.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0001485/7.787, allocations: 157.3 kB / 3.463 GB, free: 82.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/7.787, allocations: 95.52 kB / 3.463 GB, free: 82.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/7.788, allocations: 0.5982 MB / 3.464 GB, free: 82.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/7.788, allocations: 6.375 kB / 3.464 GB, free: 82.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.788, allocations: 3.719 kB / 3.464 GB, free: 82.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006292/7.789, allocations: 0.4962 MB / 3.464 GB, free: 82.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/7.791, allocations: 1.679 MB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/7.791, allocations: 0 / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/7.791, allocations: 117.7 kB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/7.791, allocations: 6.906 kB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/7.792, allocations: 15.33 kB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/7.792, allocations: 6.656 kB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/7.792, allocations: 6.75 kB / 3.466 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/7.793, allocations: 1.178 MB / 3.467 GB, free: 81.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/7.793, allocations: 244.4 kB / 3.467 GB, free: 81.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/7.793, allocations: 15.72 kB / 3.467 GB, free: 81.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/7.794, allocations: 74.42 kB / 3.468 GB, free: 81.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/7.794, allocations: 34.22 kB / 3.468 GB, free: 81.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/7.794, allocations: 27.64 kB / 3.468 GB, free: 81.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006443/7.795, allocations: 0.5381 MB / 3.468 GB, free: 81.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/7.795, allocations: 2.156 kB / 3.468 GB, free: 81.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001891/7.797, allocations: 0.5163 MB / 3.469 GB, free: 81.24 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003296/7.8, allocations: 1.936 MB / 3.471 GB, free: 80.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001355/7.801, allocations: 0.6967 MB / 3.471 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/7.801, allocations: 0 / 3.471 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/7.802, allocations: 280.6 kB / 3.471 GB, free: 80.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/7.804, allocations: 474 kB / 3.472 GB, free: 80.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/7.807, allocations: 1.6 MB / 3.473 GB, free: 80.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/7.808, allocations: 1.177 MB / 3.475 GB, free: 79.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009588/7.809, allocations: 276.4 kB / 3.475 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/7.809, allocations: 74.45 kB / 3.475 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/7.809, allocations: 1.938 kB / 3.475 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of Templates: time 0.05571/7.865, allocations: 43.51 MB / 3.517 GB, free: 77.64 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)