Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_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.01496/0.01496, allocations: 170.5 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 1.397/1.397, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, 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.000929/0.000929, allocations: 93.45 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4806, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.6506, allocations: 110.5 MB / 0.7574 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6509, allocations: 67.97 kB / 0.7575 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001339/0.6523, allocations: 495 kB / 0.758 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6523, allocations: 0 / 0.758 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6523, allocations: 4 kB / 0.758 GB, free: 4.926 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.0003871/0.6527, allocations: 327.3 kB / 0.7583 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6528, allocations: 8.031 kB / 0.7583 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.6528, allocations: 30.56 kB / 0.7583 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.6528, allocations: 4 kB / 0.7583 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.6531, allocations: 183 kB / 0.7585 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.6531, allocations: 0 / 0.7585 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.6531, allocations: 0 / 0.7585 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.6532, allocations: 37.69 kB / 0.7585 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.6533, allocations: 0 / 0.7585 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6533, allocations: 0 / 0.7585 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6533, allocations: 0 / 0.7585 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.6533, allocations: 7.938 kB / 0.7585 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.6535, allocations: 157.7 kB / 0.7587 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.6536, allocations: 22.02 kB / 0.7587 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.6536, allocations: 8.047 kB / 0.7587 GB, free: 4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.6536, allocations: 34.56 kB / 0.7587 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6536, allocations: 0 / 0.7587 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.6538, allocations: 49.53 kB / 0.7588 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.6539, allocations: 51.41 kB / 0.7588 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.654, allocations: 105 kB / 0.7589 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.654, allocations: 25.7 kB / 0.759 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.654, allocations: 84.08 kB / 0.759 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.6541, allocations: 4.062 kB / 0.759 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.6541, allocations: 4 kB / 0.7591 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6542, allocations: 322.8 kB / 0.7594 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.6542, allocations: 0 / 0.7594 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.6543, allocations: 13.72 kB / 0.7594 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.6543, allocations: 7.984 kB / 0.7594 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6543, allocations: 3.938 kB / 0.7594 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.903e-05/0.6544, allocations: 61.62 kB / 0.7594 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6544, allocations: 8 kB / 0.7594 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6544, allocations: 0 / 0.7594 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6545, allocations: 0 / 0.7594 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.6545, allocations: 4 kB / 0.7595 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6545, allocations: 0 / 0.7595 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.6546, allocations: 3.906 kB / 0.7595 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.6546, allocations: 4 kB / 0.7595 GB, free: 3.164 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 9.649e-05/0.6547, allocations: 113.8 kB / 0.7596 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.6547, allocations: 12.02 kB / 0.7596 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.6548, allocations: 44.81 kB / 0.7596 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.6549, allocations: 0 / 0.7596 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6549, allocations: 0 / 0.7596 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6549, allocations: 0 / 0.7596 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.655, allocations: 157.7 kB / 0.7598 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.655, allocations: 0 / 0.7598 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.6551, allocations: 4 kB / 0.7598 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6551, allocations: 3.953 kB / 0.7598 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6551, allocations: 3.984 kB / 0.7598 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6551, allocations: 4.031 kB / 0.7598 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6551, allocations: 256 / 0.7598 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.6553, allocations: 77.06 kB / 0.7599 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.6553, allocations: 89.03 kB / 0.7599 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.6554, allocations: 7.953 kB / 0.76 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.6554, allocations: 0 / 0.76 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.6554, allocations: 0 / 0.76 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.6554, allocations: 8.094 kB / 0.76 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.6555, allocations: 87.27 kB / 0.76 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6555, allocations: 3.938 kB / 0.76 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001774/0.6557, allocations: 4 kB / 0.7601 GB, free: 2.453 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.0004892/0.6562, allocations: 0.6125 MB / 0.7607 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/0.6563, allocations: 15.98 kB / 0.7607 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6563, allocations: 0 / 0.7607 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.6563, allocations: 4 kB / 0.7607 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.6564, allocations: 7.953 kB / 0.7607 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.6572, allocations: 0.5255 MB / 0.7612 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6575, allocations: 0.6848 MB / 0.7619 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.6576, allocations: 4 kB / 0.7619 GB, free: 500 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.6576, allocations: 7.438 kB / 0.7619 GB, free: 492 kB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.6576, allocations: 0 / 0.7619 GB, free: 492 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.6692, allocations: 0.9585 MB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.6694, allocations: 166.2 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.349, allocations: 0 / 0.763 GB, free: 15.38 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)