Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.00294/0.00294, allocations: 173.9 kB / 7.648 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 1.284/1.284, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.778/2.778, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001397/0.001397, allocations: 97.36 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001312/0.0001316, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.033, allocations: 82.31 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/1.273, allocations: 109.7 MB / 0.7411 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.273, allocations: 71.95 kB / 0.7411 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007781/1.274, allocations: 413.9 kB / 0.7415 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.147e-06/1.274, allocations: 0 / 0.7415 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.274, allocations: 7.938 kB / 0.7415 GB, free: 12.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003159/1.274, allocations: 306.6 kB / 0.7418 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/1.274, allocations: 8.031 kB / 0.7418 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/1.275, allocations: 0 / 0.7418 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.275, allocations: 167 kB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.275, allocations: 0 / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/1.275, allocations: 4 kB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.406e-05/1.275, allocations: 0 / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/1.275, allocations: 47.42 kB / 0.742 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.275, allocations: 0 / 0.742 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.275, allocations: 0 / 0.742 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.275, allocations: 3.938 kB / 0.742 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/1.275, allocations: 138.6 kB / 0.7422 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/1.275, allocations: 37.11 kB / 0.7422 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/1.275, allocations: 17.88 kB / 0.7422 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/1.275, allocations: 3.938 kB / 0.7422 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.275, allocations: 38.5 kB / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/1.275, allocations: 0 / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/1.276, allocations: 33.7 kB / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.276, allocations: 81.09 kB / 0.7424 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/1.276, allocations: 89.06 kB / 0.7425 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/1.276, allocations: 25.7 kB / 0.7425 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/1.276, allocations: 84.14 kB / 0.7426 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/1.276, allocations: 11.84 kB / 0.7426 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/1.276, allocations: 0 / 0.7426 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.276, allocations: 310.8 kB / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/1.276, allocations: 0 / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/1.276, allocations: 17.66 kB / 0.7429 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/1.276, allocations: 4.062 kB / 0.7429 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.276, allocations: 4 kB / 0.7429 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.746e-05/1.276, allocations: 45.62 kB / 0.7429 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.276, allocations: 7.953 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.276, allocations: 3.984 kB / 0.743 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.276, allocations: 0 / 0.743 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/1.276, allocations: 4 kB / 0.743 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.276, allocations: 0 / 0.743 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/1.276, allocations: 8 kB / 0.743 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/1.277, allocations: 4 kB / 0.743 GB, free: 10.87 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 0.000121/1.277, allocations: 101 kB / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.441e-05/1.277, allocations: 41.59 kB / 0.7431 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/1.277, allocations: 3.953 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/1.277, allocations: 49.38 kB / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.277, allocations: 8.125 kB / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.277, allocations: 0 / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.277, allocations: 0 / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/1.277, allocations: 130.2 kB / 0.7433 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.277, allocations: 4 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/1.277, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.277, allocations: 7.953 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.277, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.277, allocations: 3.938 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.277, allocations: 0 / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/1.277, allocations: 79.7 kB / 0.7434 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/1.278, allocations: 81.06 kB / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/1.278, allocations: 4 kB / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/1.278, allocations: 0 / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/1.278, allocations: 0 / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/1.278, allocations: 7.938 kB / 0.7435 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.615e-05/1.278, allocations: 79.31 kB / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.278, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003032/1.278, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000687/1.279, allocations: 0.6876 MB / 0.7442 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001057/1.279, allocations: 7.984 kB / 0.7442 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.279, allocations: 0 / 0.7442 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/1.279, allocations: 7.938 kB / 0.7442 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.279, allocations: 4 kB / 0.7442 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/1.28, allocations: 86.45 kB / 0.7443 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/1.28, allocations: 0.677 MB / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.03e-05/1.28, allocations: 4 kB / 0.745 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/1.28, allocations: 7.438 kB / 0.745 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/1.28, allocations: 4 kB / 0.745 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/1.308, allocations: 448.8 kB / 0.7454 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/1.308, allocations: 125.2 kB / 0.7455 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.727, allocations: 0 / 0.7455 GB, free: 7.969 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)