Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006035/0.006035, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9152/0.9152, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 80.91 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001426/0.4009, allocations: 0.5337 MB / 0.6647 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.4011, allocations: 38.81 kB / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.4011, allocations: 1.25 kB / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.4012, allocations: 0 / 0.6647 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.4013, allocations: 9.266 kB / 0.6647 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.339e-05/0.4014, allocations: 6.438 kB / 0.6647 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.4015, allocations: 3.781 kB / 0.6647 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.4015, allocations: 6.453 kB / 0.6647 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.4016, allocations: 5.312 kB / 0.6647 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.4016, allocations: 15.92 kB / 0.6647 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.4017, allocations: 1.312 kB / 0.6647 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.4017, allocations: 0 / 0.6647 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.4017, allocations: 6.641 kB / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.4017, allocations: 5.344 kB / 0.6647 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.632e-05/0.4018, allocations: 7.562 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4018, allocations: 0 / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4018, allocations: 0.9062 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4018, allocations: 0 / 0.6648 GB, free: 6.789 MB / 0.4981 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.0003533/0.4022, allocations: 330.3 kB / 0.6651 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4022, allocations: 8.875 kB / 0.6651 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.4023, allocations: 35.91 kB / 0.6651 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.4023, allocations: 6.031 kB / 0.6651 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.4024, allocations: 175.8 kB / 0.6653 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.4024, allocations: 384 / 0.6653 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4025, allocations: 5.562 kB / 0.6653 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.4025, allocations: 36.23 kB / 0.6653 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4025, allocations: 5.406 kB / 0.6653 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.4026, allocations: 0 / 0.6653 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.4026, allocations: 3.938 kB / 0.6653 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.4026, allocations: 2.469 kB / 0.6653 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.4027, allocations: 157.6 kB / 0.6655 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.4027, allocations: 22.27 kB / 0.6655 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.4027, allocations: 15.41 kB / 0.6655 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4028, allocations: 0 / 0.6655 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.4028, allocations: 40.03 kB / 0.6656 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.4028, allocations: 0 / 0.6656 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.4029, allocations: 43.5 kB / 0.6656 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.4029, allocations: 55.34 kB / 0.6657 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.403, allocations: 108.1 kB / 0.6658 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.403, allocations: 25.7 kB / 0.6658 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.403, allocations: 81.58 kB / 0.6659 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4031, allocations: 13.44 kB / 0.6659 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.4031, allocations: 11.34 kB / 0.6659 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.4031, allocations: 316 kB / 0.6662 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.4032, allocations: 3.031 kB / 0.6662 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.4032, allocations: 18.19 kB / 0.6662 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.4032, allocations: 21.45 kB / 0.6662 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4032, allocations: 4 kB / 0.6662 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.31e-05/0.4033, allocations: 53.09 kB / 0.6663 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4033, allocations: 7.969 kB / 0.6663 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4033, allocations: 1.25 kB / 0.6663 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4033, allocations: 0 / 0.6663 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.4034, allocations: 4.531 kB / 0.6663 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4034, allocations: 3.984 kB / 0.6663 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.4034, allocations: 5.469 kB / 0.6663 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4034, allocations: 1.156 kB / 0.6663 GB, free: 5.074 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.4035, allocations: 118.2 kB / 0.6664 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.4035, allocations: 8.938 kB / 0.6664 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.4036, allocations: 47.03 kB / 0.6665 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4036, allocations: 3.984 kB / 0.6665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4036, allocations: 1.094 kB / 0.6665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4036, allocations: 0 / 0.6665 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.4037, allocations: 159.1 kB / 0.6666 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4037, allocations: 3.938 kB / 0.6666 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.4037, allocations: 8 kB / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4037, allocations: 0 / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4038, allocations: 0 / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4038, allocations: 2.875 kB / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4038, allocations: 0 / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.4039, allocations: 80.77 kB / 0.6667 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.4039, allocations: 78.3 kB / 0.6668 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.4039, allocations: 1.094 kB / 0.6668 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.4039, allocations: 9.188 kB / 0.6668 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.4039, allocations: 1.156 kB / 0.6668 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.404, allocations: 0 / 0.6668 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.645e-05/0.404, allocations: 86.17 kB / 0.6669 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.404, allocations: 3.938 kB / 0.6669 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001831/0.4042, allocations: 6.75 kB / 0.6669 GB, free: 4.418 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/0.4044, allocations: 0.6214 MB / 0.6675 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.4045, allocations: 17.3 kB / 0.6675 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4045, allocations: 0 / 0.6675 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.4045, allocations: 5.844 kB / 0.6675 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.4047, allocations: 9.406 kB / 0.6675 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.4053, allocations: 1.15 MB / 0.6687 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.731e-05/0.4055, allocations: 0.6821 MB / 0.6693 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.4055, allocations: 2.969 kB / 0.6693 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.4055, allocations: 16.95 kB / 0.6693 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4055, allocations: 0 / 0.6693 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.4233, allocations: 1.18 MB / 0.6705 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.448, allocations: 5.344 kB / 0.6705 GB, free: 1.219 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)