Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_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.00865/0.00865, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7665/0.7665, 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.502/1.502, allocations: 223.2 MB / 406.9 MB, free: 3.23 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.001201/0.001202, allocations: 98.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003587, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.47, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.624, allocations: 110.4 MB / 0.7574 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.6243, allocations: 63.97 kB / 0.7574 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008175/0.6252, allocations: 417.8 kB / 0.7578 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6252, allocations: 0 / 0.7578 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6252, allocations: 0 / 0.7578 GB, free: 5.039 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.000295/0.6255, allocations: 315.5 kB / 0.7581 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6256, allocations: 8.031 kB / 0.7581 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.6256, allocations: 38.56 kB / 0.7582 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.6257, allocations: 0 / 0.7582 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.6258, allocations: 167 kB / 0.7583 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.6258, allocations: 8 kB / 0.7583 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.6258, allocations: 0 / 0.7583 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.6259, allocations: 47.34 kB / 0.7584 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.626, allocations: 0 / 0.7584 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.626, allocations: 0 / 0.7584 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.626, allocations: 4 kB / 0.7584 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.626, allocations: 7.938 kB / 0.7584 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.6262, allocations: 162 kB / 0.7586 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.674e-05/0.6263, allocations: 37.3 kB / 0.7586 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6263, allocations: 4 kB / 0.7586 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.6264, allocations: 38.5 kB / 0.7586 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6264, allocations: 0 / 0.7586 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.6265, allocations: 37.69 kB / 0.7587 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6266, allocations: 89.05 kB / 0.7588 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.855e-05/0.6266, allocations: 85 kB / 0.7588 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6267, allocations: 25.7 kB / 0.7589 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.6267, allocations: 80.14 kB / 0.7589 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.6267, allocations: 12.09 kB / 0.7589 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6268, allocations: 0 / 0.7589 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6269, allocations: 314.8 kB / 0.7592 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.6269, allocations: 4 kB / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.6269, allocations: 13.72 kB / 0.7593 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.231e-05/0.627, allocations: 4 kB / 0.7593 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.627, allocations: 0 / 0.7593 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.503e-05/0.627, allocations: 49.64 kB / 0.7593 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6271, allocations: 9.094 kB / 0.7593 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6271, allocations: 0 / 0.7593 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6271, allocations: 0 / 0.7593 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.6272, allocations: 4 kB / 0.7593 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6272, allocations: 0 / 0.7593 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.6272, allocations: 3.984 kB / 0.7593 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.6272, allocations: 0 / 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 0.0001113/0.6274, allocations: 113.9 kB / 0.7594 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.6274, allocations: 11.86 kB / 0.7595 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.6275, allocations: 48.75 kB / 0.7595 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6275, allocations: 0 / 0.7595 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6276, allocations: 4 kB / 0.7595 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6276, allocations: 0 / 0.7595 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.6277, allocations: 141.7 kB / 0.7596 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6277, allocations: 7.984 kB / 0.7596 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.6277, allocations: 0 / 0.7596 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6277, allocations: 12.02 kB / 0.7597 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.6278, allocations: 0 / 0.7597 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6278, allocations: 3.938 kB / 0.7597 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6278, allocations: 3.938 kB / 0.7597 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.946e-05/0.6279, allocations: 79.7 kB / 0.7597 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.6279, allocations: 89.09 kB / 0.7598 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.628, allocations: 0 / 0.7598 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.628, allocations: 0 / 0.7598 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.628, allocations: 0 / 0.7598 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.628, allocations: 4 kB / 0.7598 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.628, allocations: 75.28 kB / 0.7599 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.6281, allocations: 0 / 0.7599 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002059/0.6283, allocations: 0 / 0.7599 GB, free: 2.562 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.0004847/0.6288, allocations: 0.6914 MB / 0.7606 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.6288, allocations: 15.92 kB / 0.7606 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6289, allocations: 0 / 0.7606 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.6289, allocations: 8.156 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 0.0001002/0.629, allocations: 0 / 0.7606 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.6293, allocations: 121.2 kB / 0.7607 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.6296, allocations: 0.677 MB / 0.7614 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.6296, allocations: 4 kB / 0.7614 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.6296, allocations: 11.42 kB / 0.7614 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.6296, allocations: 0 / 0.7614 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.642, allocations: 0.7115 MB / 0.7621 GB, free: 324 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.6423, allocations: 161.7 kB / 0.7622 GB, free: 80 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.156, allocations: 7.875 kB / 0.7622 GB, free: 72 kB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)