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.002159/0.002159, allocations: 174.8 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.766/0.766, 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.526/1.526, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.001025/0.001025, allocations: 99.45 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.88e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1625, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/0.7714, allocations: 110.4 MB / 0.7483 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.7717, allocations: 75.94 kB / 0.7484 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001006/0.7727, allocations: 411.5 kB / 0.7487 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7727, allocations: 0 / 0.7487 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7727, allocations: 1.594 kB / 0.7487 GB, free: 27.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002297/0.7729, allocations: 312.5 kB / 0.749 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.773, allocations: 7.688 kB / 0.7491 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.773, allocations: 32.45 kB / 0.7491 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.7731, allocations: 0 / 0.7491 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.7732, allocations: 165.4 kB / 0.7492 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.7732, allocations: 7.844 kB / 0.7493 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.7732, allocations: 0 / 0.7493 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.7733, allocations: 46.14 kB / 0.7493 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7733, allocations: 2.719 kB / 0.7493 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.7733, allocations: 3.938 kB / 0.7493 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7733, allocations: 0 / 0.7493 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.7734, allocations: 9.609 kB / 0.7493 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.7735, allocations: 162.5 kB / 0.7495 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.7735, allocations: 42.97 kB / 0.7495 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.7736, allocations: 9.719 kB / 0.7495 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.7736, allocations: 0 / 0.7495 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.7736, allocations: 38.41 kB / 0.7496 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7736, allocations: 0 / 0.7496 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.7737, allocations: 43.53 kB / 0.7496 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.7738, allocations: 77.11 kB / 0.7497 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.391e-05/0.7738, allocations: 85 kB / 0.7497 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.7738, allocations: 25.7 kB / 0.7498 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.7739, allocations: 80.14 kB / 0.7498 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7739, allocations: 11.44 kB / 0.7499 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.7739, allocations: 7.906 kB / 0.7499 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.774, allocations: 316.8 kB / 0.7502 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.7741, allocations: 0 / 0.7502 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.7741, allocations: 13.69 kB / 0.7502 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.7741, allocations: 3.938 kB / 0.7502 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7741, allocations: 7.75 kB / 0.7502 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.733e-05/0.7742, allocations: 47.56 kB / 0.7502 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.7742, allocations: 3.844 kB / 0.7502 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7742, allocations: 0 / 0.7502 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7742, allocations: 3.875 kB / 0.7502 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.7743, allocations: 3.781 kB / 0.7503 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7743, allocations: 0 / 0.7503 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.7743, allocations: 6.078 kB / 0.7503 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7743, allocations: 3.938 kB / 0.7503 GB, free: 25.97 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 6.349e-05/0.7744, allocations: 104.5 kB / 0.7504 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.7744, allocations: 11.92 kB / 0.7504 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.7745, allocations: 46.77 kB / 0.7504 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.7745, allocations: 0 / 0.7504 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7745, allocations: 3.875 kB / 0.7504 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7745, allocations: 0 / 0.7504 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.86e-05/0.7746, allocations: 148 kB / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7746, allocations: 3.812 kB / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.7747, allocations: 0 / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.7747, allocations: 14.97 kB / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.7747, allocations: 0 / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7747, allocations: 0 / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7747, allocations: 0 / 0.7506 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.629e-05/0.7748, allocations: 77.3 kB / 0.7507 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.7748, allocations: 85 kB / 0.7507 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.7748, allocations: 15.39 kB / 0.7507 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.7748, allocations: 0 / 0.7507 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.7749, allocations: 3.844 kB / 0.7508 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.7749, allocations: 2.812 kB / 0.7508 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.7749, allocations: 75.28 kB / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7749, allocations: 0 / 0.7508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001942/0.7751, allocations: 3.844 kB / 0.7508 GB, free: 25.34 MB / 0.5105 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.000334/0.7754, allocations: 0.6809 MB / 0.7515 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.976e-05/0.7755, allocations: 11.69 kB / 0.7515 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.7755, allocations: 0 / 0.7515 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.7755, allocations: 7 kB / 0.7515 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.204e-05/0.7756, allocations: 9.266 kB / 0.7515 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.7759, allocations: 92.42 kB / 0.7516 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.7761, allocations: 0.6757 MB / 0.7523 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.7761, allocations: 0 / 0.7523 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.7762, allocations: 7.438 kB / 0.7523 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.7762, allocations: 0 / 0.7523 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.7882, allocations: 0.7204 MB / 0.753 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.7884, allocations: 129.3 kB / 0.7531 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.221, allocations: 0 / 0.7531 GB, free: 23.47 MB / 0.5105 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)