Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",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.01074/0.01074, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8113/0.8113, allocations: 135.2 MB / 151 MB, free: 13.81 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.543/1.543, 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.001046/0.001046, allocations: 94.08 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5014, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.6594, allocations: 110.5 MB / 0.7574 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.6597, allocations: 71.95 kB / 0.7575 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001392/0.6611, allocations: 487 kB / 0.7579 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6611, allocations: 0 / 0.7579 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6611, allocations: 4 kB / 0.7579 GB, free: 4.977 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003682/0.6615, allocations: 332.5 kB / 0.7583 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.6616, allocations: 12.03 kB / 0.7583 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.6616, allocations: 30.56 kB / 0.7583 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.6617, allocations: 0 / 0.7583 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.6619, allocations: 175 kB / 0.7585 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.6619, allocations: 0 / 0.7585 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.662, allocations: 4 kB / 0.7585 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.6621, allocations: 41.69 kB / 0.7585 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6621, allocations: 0 / 0.7585 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.6621, allocations: 0 / 0.7585 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6621, allocations: 0 / 0.7585 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.6621, allocations: 11.92 kB / 0.7585 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.6623, allocations: 153.7 kB / 0.7587 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/0.6624, allocations: 30 kB / 0.7587 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.6624, allocations: 0 / 0.7587 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.6624, allocations: 34.56 kB / 0.7587 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6625, allocations: 0 / 0.7587 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.6626, allocations: 49.59 kB / 0.7588 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.6627, allocations: 51.41 kB / 0.7588 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.6628, allocations: 101 kB / 0.7589 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6628, allocations: 25.7 kB / 0.759 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.6629, allocations: 88.14 kB / 0.759 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.6629, allocations: 11.86 kB / 0.759 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.6629, allocations: 4.125 kB / 0.7591 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.663, allocations: 314.8 kB / 0.7594 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.6631, allocations: 8 kB / 0.7594 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.6631, allocations: 13.72 kB / 0.7594 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.6631, allocations: 7.984 kB / 0.7594 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6631, allocations: 0 / 0.7594 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.445e-05/0.6632, allocations: 57.64 kB / 0.7594 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6632, allocations: 4 kB / 0.7594 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6632, allocations: 0 / 0.7594 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6633, allocations: 4 kB / 0.7594 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.6633, allocations: 3.938 kB / 0.7594 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6634, allocations: 4 kB / 0.7595 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.6634, allocations: 3.906 kB / 0.7595 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.6634, allocations: 0 / 0.7595 GB, free: 3.211 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.357e-05/0.6635, allocations: 113.8 kB / 0.7596 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.6635, allocations: 8.016 kB / 0.7596 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.6636, allocations: 52.75 kB / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.6636, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6637, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6637, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.6638, allocations: 153.7 kB / 0.7598 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6638, allocations: 0 / 0.7598 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.6639, allocations: 7.984 kB / 0.7598 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6639, allocations: 3.953 kB / 0.7598 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.6639, allocations: 0 / 0.7598 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.6639, allocations: 8.031 kB / 0.7598 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6639, allocations: 0 / 0.7598 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.664, allocations: 73.06 kB / 0.7599 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.6641, allocations: 85 kB / 0.7599 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6641, allocations: 3.953 kB / 0.7599 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.6642, allocations: 4.281 kB / 0.7599 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.6642, allocations: 4 kB / 0.7599 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.6642, allocations: 8.094 kB / 0.76 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.6643, allocations: 87.27 kB / 0.76 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.064e-06/0.6643, allocations: 0 / 0.76 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001737/0.6644, allocations: 11.94 kB / 0.7601 GB, free: 2.496 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004541/0.6649, allocations: 0.6086 MB / 0.7606 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.665, allocations: 15.98 kB / 0.7607 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.665, allocations: 4 kB / 0.7607 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.665, allocations: 4 kB / 0.7607 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.6652, allocations: 3.953 kB / 0.7607 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.6658, allocations: 0.5216 MB / 0.7612 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6661, allocations: 0.6848 MB / 0.7619 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.6661, allocations: 0 / 0.7619 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.6662, allocations: 15.44 kB / 0.7619 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6662, allocations: 0 / 0.7619 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.6775, allocations: 0.9619 MB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.6777, allocations: 158.4 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.351, allocations: 0 / 0.763 GB, free: 15.43 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)