Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.007772/0.007772, allocations: 170.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.77/0.77, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008686, allocations: 96.7 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4254, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.005/4.431, allocations: 1.934 GB / 2.583 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.431, allocations: 100.8 kB / 2.583 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.405/6.836, allocations: 0.6283 GB / 3.212 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/6.836, allocations: 0 / 3.212 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001062/6.836, allocations: 44.92 kB / 3.212 GB, free: 120.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003331/6.839, allocations: 1.773 MB / 3.213 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/6.839, allocations: 10.28 kB / 3.213 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/6.84, allocations: 152.6 kB / 3.213 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/6.842, allocations: 369.4 kB / 3.214 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/6.844, allocations: 1.234 MB / 3.215 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/6.844, allocations: 84.44 kB / 3.215 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/6.844, allocations: 111 kB / 3.215 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/6.846, allocations: 1.116 MB / 3.216 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/6.846, allocations: 6.812 kB / 3.216 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/6.846, allocations: 42.53 kB / 3.216 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/6.846, allocations: 35.12 kB / 3.216 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/6.847, allocations: 0.8321 MB / 3.217 GB, free: 119.1 MB / 0.6823 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.005102/6.853, allocations: 5.137 MB / 3.222 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/6.854, allocations: 0.745 MB / 3.223 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/6.854, allocations: 311.1 kB / 3.223 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/6.854, allocations: 42 kB / 3.223 GB, free: 116 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/6.854, allocations: 3 kB / 3.223 GB, free: 116 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001821/6.856, allocations: 1.008 MB / 3.224 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/6.856, allocations: 172.5 kB / 3.224 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/6.857, allocations: 0.7618 MB / 3.225 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/6.857, allocations: 42.67 kB / 3.225 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/6.857, allocations: 0.5566 MB / 3.226 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/6.858, allocations: 243.2 kB / 3.226 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/6.858, allocations: 18.22 kB / 3.226 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/6.858, allocations: 334.4 kB / 3.226 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/6.858, allocations: 273.4 kB / 3.227 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/6.859, allocations: 0.5043 MB / 3.227 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/6.859, allocations: 332.9 kB / 3.227 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/6.859, allocations: 3.906 kB / 3.227 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001228/6.861, allocations: 0.8676 MB / 3.228 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/6.861, allocations: 1.668 MB / 3.23 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/6.861, allocations: 7.047 kB / 3.23 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/6.861, allocations: 14.95 kB / 3.23 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/6.862, allocations: 260.7 kB / 3.23 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/6.864, allocations: 1.406 MB / 3.231 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/6.865, allocations: 133.4 kB / 3.232 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/6.865, allocations: 32.45 kB / 3.232 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/6.865, allocations: 6.219 kB / 3.232 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/6.866, allocations: 0.7345 MB / 3.232 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/6.866, allocations: 3.688 kB / 3.232 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/6.866, allocations: 15.25 kB / 3.232 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/6.867, allocations: 259.7 kB / 3.233 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009778/6.868, allocations: 1.417 MB / 3.234 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/6.869, allocations: 125.1 kB / 3.234 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/6.869, allocations: 34.44 kB / 3.234 GB, free: 109.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006303/6.87, allocations: 373.9 kB / 3.235 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/6.87, allocations: 114.4 kB / 3.235 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/6.872, allocations: 0.8366 MB / 3.235 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/6.872, allocations: 10.91 kB / 3.235 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/6.872, allocations: 0 / 3.235 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/6.873, allocations: 0.7599 MB / 3.236 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/6.876, allocations: 2.016 MB / 3.238 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/6.876, allocations: 3.219 kB / 3.238 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/6.877, allocations: 151 kB / 3.238 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/6.878, allocations: 45.52 kB / 3.238 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/6.878, allocations: 21.95 kB / 3.238 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/6.879, allocations: 1.389 MB / 3.24 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.879, allocations: 7.312 kB / 3.24 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/6.881, allocations: 1.421 MB / 3.241 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/6.881, allocations: 267.6 kB / 3.241 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/6.882, allocations: 14.53 kB / 3.241 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/6.882, allocations: 83.39 kB / 3.241 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/6.882, allocations: 44.08 kB / 3.242 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/6.882, allocations: 23.31 kB / 3.242 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007921/6.883, allocations: 0.5948 MB / 3.242 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/6.883, allocations: 0 / 3.242 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002253/6.886, allocations: 0.725 MB / 3.243 GB, free: 106.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005047/6.891, allocations: 4.121 MB / 3.247 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002827/6.893, allocations: 1.192 MB / 3.248 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/6.893, allocations: 3.375 kB / 3.248 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/6.894, allocations: 470.6 kB / 3.248 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/6.897, allocations: 0.4952 MB / 3.249 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/6.906, allocations: 9.439 MB / 3.258 GB, free: 95.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/6.907, allocations: 1.171 MB / 3.259 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001162/6.908, allocations: 268.5 kB / 3.26 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/6.909, allocations: 460.4 kB / 3.26 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/6.909, allocations: 4 kB / 3.26 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07497/6.984, allocations: 54.11 MB / 3.313 GB, free: 42.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/6.984, allocations: 253.7 kB / 3.313 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/10.88, allocations: 6.453 kB / 3.313 GB, free: 42.34 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)