Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_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.0106/0.0106, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.002373/0.002373, allocations: 195 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.385/2.385, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.497/1.497, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 62.25 kB / 0.5808 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2417, allocations: 80.22 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.002611/0.2444, allocations: 0.5094 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.2447, allocations: 31.83 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.2448, allocations: 4 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.2449, allocations: 3.984 kB / 0.6597 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2451, allocations: 15.88 kB / 0.6597 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.542e-05/0.2452, allocations: 7.938 kB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.2453, allocations: 7.984 kB / 0.6597 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.2454, allocations: 7.984 kB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.2455, allocations: 0 / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2456, allocations: 8 kB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2456, allocations: 4 kB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2456, allocations: 0 / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.654e-05/0.2457, allocations: 15.86 kB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.2458, allocations: 4 kB / 0.6598 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.2459, allocations: 11.92 kB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.2459, allocations: 3.984 kB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2459, allocations: 0 / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.2459, allocations: 0 / 0.6598 GB, free: 13.35 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.0006212/0.2465, allocations: 323.6 kB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.2466, allocations: 12.03 kB / 0.6601 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.2467, allocations: 30.75 kB / 0.6601 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.2467, allocations: 4.844 kB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.2469, allocations: 175.2 kB / 0.6603 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2469, allocations: 4.375 kB / 0.6603 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.247, allocations: 8.125 kB / 0.6603 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2471, allocations: 33.69 kB / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2471, allocations: 0 / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2471, allocations: 0 / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2471, allocations: 0 / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.2472, allocations: 7.938 kB / 0.6604 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.2474, allocations: 157.7 kB / 0.6605 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.2474, allocations: 14.92 kB / 0.6605 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.2475, allocations: 16.84 kB / 0.6606 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2475, allocations: 0 / 0.6606 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2475, allocations: 30.56 kB / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2475, allocations: 0 / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.2477, allocations: 45.62 kB / 0.6606 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2478, allocations: 55.53 kB / 0.6607 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2479, allocations: 113.8 kB / 0.6608 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2479, allocations: 29.7 kB / 0.6608 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.2479, allocations: 80.14 kB / 0.6609 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.248, allocations: 3.906 kB / 0.6609 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.248, allocations: 21.7 kB / 0.6609 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2482, allocations: 314.8 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.2482, allocations: 4 kB / 0.6612 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.2482, allocations: 21.7 kB / 0.6612 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.2483, allocations: 25.66 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2483, allocations: 4.188 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.106e-05/0.2484, allocations: 45.62 kB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2484, allocations: 4 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2484, allocations: 8.125 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2484, allocations: 0 / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.2485, allocations: 11.92 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2485, allocations: 0 / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.2486, allocations: 8 kB / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2486, allocations: 0 / 0.6613 GB, free: 11.53 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 0.0001083/0.2487, allocations: 110.5 kB / 0.6614 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.2487, allocations: 7.844 kB / 0.6615 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.2489, allocations: 56.8 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2489, allocations: 0 / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2489, allocations: 0 / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2489, allocations: 0 / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.249, allocations: 157.6 kB / 0.6617 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.249, allocations: 0 / 0.6617 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.2491, allocations: 7.938 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2491, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2491, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2491, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2491, allocations: 4 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2493, allocations: 83.52 kB / 0.6617 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.2494, allocations: 77.11 kB / 0.6618 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.2494, allocations: 0 / 0.6618 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.2494, allocations: 4.031 kB / 0.6618 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.2494, allocations: 3.984 kB / 0.6618 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2495, allocations: 7.922 kB / 0.6618 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.2495, allocations: 87.28 kB / 0.6619 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2495, allocations: 4.094 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002005/0.2497, allocations: 0 / 0.6619 GB, free: 10.82 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.0004804/0.2502, allocations: 0.6162 MB / 0.6625 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.2504, allocations: 15.98 kB / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2504, allocations: 4.219 kB / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.2504, allocations: 11.94 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.2506, allocations: 3.516 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2517, allocations: 1.155 MB / 0.6637 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.252, allocations: 0.6768 MB / 0.6644 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.2521, allocations: 3.984 kB / 0.6644 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.2521, allocations: 15.44 kB / 0.6644 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2521, allocations: 4 kB / 0.6644 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2763, allocations: 1.173 MB / 0.6655 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/13.93, allocations: 8.797 kB / 0.6655 GB, free: 7.086 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)