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.006905/0.006905, allocations: 169.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 0.7598/0.7598, allocations: 135.2 MB / 151 MB, free: 13.82 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.487/1.487, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009883/0.000988, allocations: 88.08 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4631, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.6186, allocations: 110.4 MB / 0.7574 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.6188, allocations: 63.97 kB / 0.7574 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006439/0.6195, allocations: 413.9 kB / 0.7578 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6195, allocations: 0 / 0.7578 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6195, allocations: 0 / 0.7578 GB, free: 5.051 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.0002647/0.6198, allocations: 323.4 kB / 0.7581 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6199, allocations: 8.031 kB / 0.7581 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.6199, allocations: 34.5 kB / 0.7582 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.6199, allocations: 4 kB / 0.7582 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.62, allocations: 167 kB / 0.7583 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6201, allocations: 0 / 0.7583 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.6201, allocations: 7.984 kB / 0.7584 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6202, allocations: 39.42 kB / 0.7584 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6202, allocations: 4 kB / 0.7584 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6202, allocations: 4 kB / 0.7584 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6202, allocations: 0 / 0.7584 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.6203, allocations: 7.938 kB / 0.7584 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.6204, allocations: 157.9 kB / 0.7586 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.6205, allocations: 37.22 kB / 0.7586 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.6205, allocations: 7.984 kB / 0.7586 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6206, allocations: 34.62 kB / 0.7586 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6206, allocations: 4 kB / 0.7586 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.6207, allocations: 45.62 kB / 0.7587 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.6208, allocations: 77.11 kB / 0.7588 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/0.6209, allocations: 85 kB / 0.7588 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6209, allocations: 29.95 kB / 0.7589 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.6209, allocations: 80.14 kB / 0.7589 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.621, allocations: 11.84 kB / 0.759 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.621, allocations: 3.938 kB / 0.759 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6211, allocations: 314.8 kB / 0.7593 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.6211, allocations: 0 / 0.7593 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.6212, allocations: 17.7 kB / 0.7593 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.193e-05/0.6212, allocations: 4.062 kB / 0.7593 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6212, allocations: 4 kB / 0.7593 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.358e-05/0.6213, allocations: 45.59 kB / 0.7593 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6213, allocations: 4 kB / 0.7593 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6213, allocations: 0 / 0.7593 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6213, allocations: 0 / 0.7593 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.6214, allocations: 7.984 kB / 0.7593 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6214, allocations: 0 / 0.7593 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.6214, allocations: 4 kB / 0.7593 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.6214, allocations: 4.062 kB / 0.7593 GB, free: 3.258 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.479e-05/0.6215, allocations: 105.8 kB / 0.7594 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.6215, allocations: 15.84 kB / 0.7595 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6217, allocations: 48.75 kB / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.6217, allocations: 0 / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6217, allocations: 0 / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6217, allocations: 0 / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6218, allocations: 157.7 kB / 0.7597 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6218, allocations: 3.938 kB / 0.7597 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.6218, allocations: 7.938 kB / 0.7597 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6218, allocations: 3.953 kB / 0.7597 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.6219, allocations: 0 / 0.7597 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6219, allocations: 0 / 0.7597 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6219, allocations: 4 kB / 0.7597 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.622, allocations: 79.7 kB / 0.7597 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.622, allocations: 81.06 kB / 0.7598 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.622, allocations: 0 / 0.7598 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.6221, allocations: 4 kB / 0.7598 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.6221, allocations: 0 / 0.7598 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.6221, allocations: 7.984 kB / 0.7598 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.6221, allocations: 75.28 kB / 0.7599 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.363e-06/0.6221, allocations: 0 / 0.7599 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002017/0.6223, allocations: 15.97 kB / 0.7599 GB, free: 2.547 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 () * 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.0004143/0.6228, allocations: 0.6798 MB / 0.7606 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.6228, allocations: 15.97 kB / 0.7606 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6228, allocations: 0 / 0.7606 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.6229, allocations: 4 kB / 0.7606 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.828e-05/0.623, allocations: 5.094 kB / 0.7606 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.6233, allocations: 121.2 kB / 0.7607 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6236, allocations: 0.677 MB / 0.7614 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.6236, allocations: 4.25 kB / 0.7614 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.6236, allocations: 7.438 kB / 0.7614 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.6236, allocations: 0 / 0.7614 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.6342, allocations: 0.7157 MB / 0.7621 GB, free: 324 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.6344, allocations: 163.2 kB / 0.7623 GB, free: 80 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/2.06, allocations: 0 / 0.7623 GB, free: 80 kB / 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)