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.0018/0.0018, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7488/0.7488, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.351/1.351, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008696/0.0008697, allocations: 99.31 kB / 483.3 MB, free: 5.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.502e-05, allocations: 2.281 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 82.31 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5453, allocations: 110.4 MB / 0.7483 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.5455, allocations: 67.55 kB / 0.7484 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001242/0.5467, allocations: 486.4 kB / 0.7489 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5467, allocations: 0 / 0.7489 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5467, allocations: 3.875 kB / 0.7489 GB, free: 27.8 MB / 0.5105 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.0002016/0.547, allocations: 321 kB / 0.7492 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.547, allocations: 12.97 kB / 0.7492 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.547, allocations: 30.56 kB / 0.7492 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.5471, allocations: 6.719 kB / 0.7492 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.5472, allocations: 180 kB / 0.7494 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.5472, allocations: 3.984 kB / 0.7494 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.5473, allocations: 3.875 kB / 0.7494 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.977e-05/0.5473, allocations: 35.28 kB / 0.7494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-06/0.5473, allocations: 1.719 kB / 0.7494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.5473, allocations: 0 / 0.7494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.5474, allocations: 0 / 0.7494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.5474, allocations: 6.406 kB / 0.7494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.937e-05/0.5475, allocations: 159.8 kB / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.983e-05/0.5475, allocations: 22.02 kB / 0.7496 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.5475, allocations: 14.61 kB / 0.7496 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.5476, allocations: 0 / 0.7496 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.5476, allocations: 30.56 kB / 0.7496 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5476, allocations: 4.969 kB / 0.7497 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 9.536e-05/0.5477, allocations: 40.41 kB / 0.7497 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.5477, allocations: 51.41 kB / 0.7497 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.5478, allocations: 99.16 kB / 0.7498 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.5478, allocations: 25.7 kB / 0.7499 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.5478, allocations: 86.92 kB / 0.7499 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.5478, allocations: 3.906 kB / 0.7499 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.5479, allocations: 0 / 0.7499 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.5479, allocations: 320.8 kB / 0.7503 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.548, allocations: 7.672 kB / 0.7503 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.548, allocations: 20.64 kB / 0.7503 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.683e-05/0.548, allocations: 3.844 kB / 0.7503 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.548, allocations: 3.953 kB / 0.7503 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.077e-05/0.5481, allocations: 50.62 kB / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5481, allocations: 7.656 kB / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5481, allocations: 0 / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.5481, allocations: 4.125 kB / 0.7503 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.5482, allocations: 3.875 kB / 0.7504 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5482, allocations: 0 / 0.7504 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.5482, allocations: 0 / 0.7504 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5482, allocations: 9.844 kB / 0.7504 GB, free: 26.22 MB / 0.5105 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 () * 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 5.035e-05/0.5483, allocations: 104.9 kB / 0.7505 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.5483, allocations: 3.953 kB / 0.7505 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.5484, allocations: 48.69 kB / 0.7505 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5484, allocations: 7.969 kB / 0.7505 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5484, allocations: 0 / 0.7505 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5484, allocations: 3.562 kB / 0.7505 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.952e-05/0.5485, allocations: 162.9 kB / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5485, allocations: 0 / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.5485, allocations: 7.703 kB / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5485, allocations: 0 / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.5485, allocations: 0 / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5486, allocations: 2.766 kB / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5486, allocations: 0 / 0.7507 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.941e-05/0.5487, allocations: 82.45 kB / 0.7508 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.5487, allocations: 77.11 kB / 0.7508 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.5487, allocations: 3.953 kB / 0.7508 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.5487, allocations: 3.844 kB / 0.7508 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.5487, allocations: 0 / 0.7508 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.5488, allocations: 2.906 kB / 0.7508 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.5488, allocations: 90.53 kB / 0.7509 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5488, allocations: 0 / 0.7509 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001528/0.549, allocations: 7.938 kB / 0.7509 GB, free: 25.62 MB / 0.5105 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 () * 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.0002876/0.5493, allocations: 0.6095 MB / 0.7515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.244e-05/0.5493, allocations: 17.7 kB / 0.7516 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5493, allocations: 4.031 kB / 0.7516 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.5493, allocations: 7.781 kB / 0.7516 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.083e-05/0.5494, allocations: 7.141 kB / 0.7516 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.5497, allocations: 110 kB / 0.7517 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.5499, allocations: 0.6851 MB / 0.7523 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.5499, allocations: 2.766 kB / 0.7523 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.5499, allocations: 11.31 kB / 0.7524 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.5499, allocations: 0 / 0.7524 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/1.615, allocations: 0.9658 MB / 0.7533 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.615, allocations: 143.3 kB / 0.7534 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/3.32, allocations: 0 / 0.7534 GB, free: 23.82 MB / 0.5105 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)