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.001578/0.001578, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8308/0.8308, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 395.5 MB, free: 10.72 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.001217/0.001217, allocations: 100.2 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.404e-05, allocations: 4 kB / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.484, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.6399, allocations: 109.7 MB / 0.7411 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6403, allocations: 75.95 kB / 0.7412 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001229/0.6415, allocations: 487 kB / 0.7416 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6415, allocations: 0 / 0.7416 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.6415, allocations: 0 / 0.7416 GB, free: 12.36 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.0003201/0.6419, allocations: 318.6 kB / 0.7419 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6419, allocations: 12.03 kB / 0.7419 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.642, allocations: 7.906 kB / 0.742 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.6422, allocations: 175 kB / 0.7421 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.6422, allocations: 0 / 0.7421 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.6423, allocations: 0 / 0.7421 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.518e-05/0.6423, allocations: 7.938 kB / 0.7421 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.491e-05/0.6424, allocations: 33.69 kB / 0.7422 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.6424, allocations: 0 / 0.7422 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6424, allocations: 4 kB / 0.7422 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6424, allocations: 0 / 0.7422 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.6426, allocations: 138.3 kB / 0.7423 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.6426, allocations: 22.05 kB / 0.7423 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.6427, allocations: 8.859 kB / 0.7423 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6427, allocations: 0 / 0.7423 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6427, allocations: 34.55 kB / 0.7424 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.6427, allocations: 4 kB / 0.7424 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.6429, allocations: 41.64 kB / 0.7424 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.6429, allocations: 55.39 kB / 0.7425 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.643, allocations: 101 kB / 0.7426 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.643, allocations: 25.7 kB / 0.7426 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.6431, allocations: 80.14 kB / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.6431, allocations: 3.906 kB / 0.7427 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.6431, allocations: 0 / 0.7427 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6433, allocations: 318.8 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.6433, allocations: 4 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.6433, allocations: 17.75 kB / 0.743 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.6434, allocations: 7.984 kB / 0.743 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6434, allocations: 3.938 kB / 0.743 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.066e-05/0.6434, allocations: 49.58 kB / 0.743 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6435, allocations: 4 kB / 0.743 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.6435, allocations: 0 / 0.743 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6435, allocations: 8.109 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.6436, allocations: 7.938 kB / 0.7431 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.6436, allocations: 4 kB / 0.7431 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.6436, allocations: 0 / 0.7431 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.6436, allocations: 0 / 0.7431 GB, free: 10.69 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 () * 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 7.508e-05/0.6437, allocations: 112.9 kB / 0.7432 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.896e-05/0.6438, allocations: 45.58 kB / 0.7432 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.6438, allocations: 3.906 kB / 0.7432 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.216e-05/0.6439, allocations: 49.45 kB / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6439, allocations: 4 kB / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6439, allocations: 0 / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6439, allocations: 0 / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.644, allocations: 134.2 kB / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.644, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.6441, allocations: 4 kB / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6441, allocations: 3.953 kB / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6441, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6441, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6441, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.6443, allocations: 81.08 kB / 0.7435 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.6443, allocations: 81.14 kB / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.6443, allocations: 4.203 kB / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.6444, allocations: 0 / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.6444, allocations: 4 kB / 0.7436 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.6444, allocations: 7.984 kB / 0.7436 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.6444, allocations: 83.28 kB / 0.7437 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 4.094 kB / 0.7437 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001777/0.6446, allocations: 4 kB / 0.7437 GB, free: 9.984 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 () * 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.0004428/0.6451, allocations: 0.6124 MB / 0.7443 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.6452, allocations: 15.98 kB / 0.7443 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6452, allocations: 4.219 kB / 0.7443 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.6452, allocations: 4 kB / 0.7443 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.6453, allocations: 7.891 kB / 0.7443 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.6457, allocations: 107.7 kB / 0.7444 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.646, allocations: 0.6846 MB / 0.7451 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.646, allocations: 4 kB / 0.7451 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.6461, allocations: 11.38 kB / 0.7451 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6461, allocations: 0 / 0.7451 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.6752, allocations: 0.6641 MB / 0.7457 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.6755, allocations: 123.7 kB / 0.7458 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.363, allocations: 0 / 0.7458 GB, free: 7.594 MB / 0.5261 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)