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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4778/0.4778, allocations: 90.8 MB / 104.5 MB, free: 13.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 95.94 kB / 421.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.306e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 72.31 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.272/4.411, allocations: 1.926 GB / 2.486 GB, free: 169 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/4.411, allocations: 84.55 kB / 2.486 GB, free: 169 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.236/6.647, allocations: 0.6663 GB / 3.153 GB, free: 89.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/6.647, allocations: 0 / 3.153 GB, free: 89.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001259/6.648, allocations: 31.45 kB / 3.153 GB, free: 89.18 MB / 0.6198 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.003946/6.652, allocations: 1.329 MB / 3.154 GB, free: 88.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/6.652, allocations: 8.75 kB / 3.154 GB, free: 88.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004227/6.652, allocations: 147.5 kB / 3.154 GB, free: 88.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/6.654, allocations: 250.9 kB / 3.155 GB, free: 88.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/6.657, allocations: 1.114 MB / 3.156 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/6.657, allocations: 73.28 kB / 3.156 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/6.658, allocations: 98.97 kB / 3.156 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/6.66, allocations: 1.1 MB / 3.157 GB, free: 88.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/6.66, allocations: 11.05 kB / 3.157 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/6.66, allocations: 36.84 kB / 3.157 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/6.66, allocations: 31.84 kB / 3.157 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/6.662, allocations: 0.8304 MB / 3.158 GB, free: 88.19 MB / 0.6198 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.006366/6.668, allocations: 5.704 MB / 3.163 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/6.669, allocations: 0.5255 MB / 3.164 GB, free: 84.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/6.669, allocations: 308.9 kB / 3.164 GB, free: 84.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/6.67, allocations: 307.8 kB / 3.164 GB, free: 84.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/6.67, allocations: 37.94 kB / 3.164 GB, free: 84.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/6.67, allocations: 0 / 3.164 GB, free: 84.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001254/6.671, allocations: 0.5869 MB / 3.165 GB, free: 84.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/6.671, allocations: 56.75 kB / 3.165 GB, free: 84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/6.672, allocations: 0.6548 MB / 3.166 GB, free: 83.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/6.672, allocations: 36.45 kB / 3.166 GB, free: 83.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/6.673, allocations: 0.5026 MB / 3.166 GB, free: 83.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/6.673, allocations: 181.8 kB / 3.166 GB, free: 83.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/6.673, allocations: 15.84 kB / 3.166 GB, free: 83.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/6.673, allocations: 331.6 kB / 3.167 GB, free: 83.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/6.673, allocations: 237.6 kB / 3.167 GB, free: 83.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/6.674, allocations: 0.5606 MB / 3.167 GB, free: 82.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/6.674, allocations: 348.5 kB / 3.168 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/6.674, allocations: 4.438 kB / 3.168 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001244/6.676, allocations: 0.8309 MB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/6.676, allocations: 7.25 kB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/6.676, allocations: 6.125 kB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/6.676, allocations: 13.16 kB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/6.676, allocations: 161.4 kB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/6.676, allocations: 16.73 kB / 3.169 GB, free: 82.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/6.677, allocations: 150 kB / 3.169 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/6.677, allocations: 34.75 kB / 3.169 GB, free: 82.75 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001583/6.678, allocations: 158.1 kB / 3.169 GB, free: 82.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/6.678, allocations: 85.06 kB / 3.169 GB, free: 82.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/6.679, allocations: 0.6019 MB / 3.17 GB, free: 82.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/6.679, allocations: 5.906 kB / 3.17 GB, free: 82.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/6.679, allocations: 5.984 kB / 3.17 GB, free: 82.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006053/6.68, allocations: 0.5041 MB / 3.17 GB, free: 82.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/6.682, allocations: 1.651 MB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/6.682, allocations: 3.094 kB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/6.683, allocations: 106.1 kB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/6.683, allocations: 6.875 kB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/6.683, allocations: 14.88 kB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/6.683, allocations: 11.47 kB / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/6.683, allocations: 0 / 3.172 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/6.684, allocations: 1.071 MB / 3.173 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/6.684, allocations: 228.1 kB / 3.173 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/6.685, allocations: 17.53 kB / 3.173 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/6.685, allocations: 64.39 kB / 3.173 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/6.685, allocations: 29.09 kB / 3.173 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/6.685, allocations: 21.75 kB / 3.173 GB, free: 81.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005899/6.686, allocations: 0.504 MB / 3.174 GB, free: 81.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.9e-07/6.686, allocations: 0 / 3.174 GB, free: 81.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001636/6.688, allocations: 480.9 kB / 3.174 GB, free: 81.47 MB / 0.6198 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 () * 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 (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.003897/6.692, allocations: 3.897 MB / 3.178 GB, free: 79.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008975/6.693, allocations: 0.5928 MB / 3.179 GB, free: 79.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/6.693, allocations: 3.562 kB / 3.179 GB, free: 79.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/6.693, allocations: 264.9 kB / 3.179 GB, free: 79.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/6.695, allocations: 437.8 kB / 3.179 GB, free: 79.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/6.699, allocations: 1.791 MB / 3.181 GB, free: 79.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/6.7, allocations: 1.142 MB / 3.182 GB, free: 78.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009242/6.701, allocations: 270.8 kB / 3.183 GB, free: 78.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/6.702, allocations: 361.8 kB / 3.183 GB, free: 78.45 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/6.702, allocations: 0 / 3.183 GB, free: 78.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08044/6.782, allocations: 56.23 MB / 3.238 GB, free: 76.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/6.782, allocations: 194.5 kB / 3.238 GB, free: 76.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.656/10.44, allocations: 3.938 kB / 3.238 GB, free: 76.6 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)