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.004555/0.004555, allocations: 101 kB / 15.73 MB, free: 6.441 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.001101/0.001101, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7214/0.7214, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 71.42 kB / 0.5808 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.138, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001808/0.1399, allocations: 0.5076 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.1401, allocations: 43.8 kB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.1402, allocations: 0 / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1402, allocations: 0 / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1404, allocations: 19.88 kB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.347e-05/0.1404, allocations: 7.984 kB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.1405, allocations: 7.984 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1406, allocations: 0 / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.1406, allocations: 4 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1407, allocations: 11.98 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1407, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.1407, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.1407, allocations: 7.938 kB / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1408, allocations: 0 / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.507e-05/0.1408, allocations: 19.84 kB / 0.6598 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1408, allocations: 4 kB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1408, allocations: 0 / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1409, allocations: 0 / 0.6598 GB, free: 13.39 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.000401/0.1413, allocations: 331.6 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1413, allocations: 8.031 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1413, allocations: 30.75 kB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.1414, allocations: 8.844 kB / 0.6602 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1415, allocations: 175.2 kB / 0.6603 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1416, allocations: 384 / 0.6603 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1416, allocations: 8.125 kB / 0.6603 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.1417, allocations: 33.64 kB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1417, allocations: 0 / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1417, allocations: 0 / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1417, allocations: 0 / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.1417, allocations: 11.92 kB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1418, allocations: 153.7 kB / 0.6605 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.1419, allocations: 18.92 kB / 0.6605 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.1419, allocations: 12.8 kB / 0.6605 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1419, allocations: 4.062 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.142, allocations: 34.56 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.142, allocations: 0 / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.1421, allocations: 49.61 kB / 0.6606 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1421, allocations: 51.41 kB / 0.6607 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.1422, allocations: 113.8 kB / 0.6608 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1422, allocations: 29.83 kB / 0.6608 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.1423, allocations: 80.14 kB / 0.6609 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1423, allocations: 7.906 kB / 0.6609 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1423, allocations: 13.72 kB / 0.6609 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.1424, allocations: 314.8 kB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.1425, allocations: 7.984 kB / 0.6612 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.1425, allocations: 17.72 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.1425, allocations: 29.7 kB / 0.6613 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1425, allocations: 0 / 0.6613 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.118e-05/0.1426, allocations: 49.62 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1426, allocations: 4 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1426, allocations: 4 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1427, allocations: 0 / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1427, allocations: 7.938 kB / 0.6613 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1427, allocations: 4.062 kB / 0.6613 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.1428, allocations: 0 / 0.6613 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1428, allocations: 0 / 0.6613 GB, free: 11.57 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 6.392e-05/0.1429, allocations: 114.5 kB / 0.6614 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1429, allocations: 11.83 kB / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.143, allocations: 48.81 kB / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.143, allocations: 0 / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.143, allocations: 0 / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.143, allocations: 0 / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1431, allocations: 165.6 kB / 0.6617 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1431, allocations: 0 / 0.6617 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1432, allocations: 3.984 kB / 0.6617 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1432, allocations: 4 kB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1432, allocations: 3.938 kB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1432, allocations: 3.938 kB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1432, allocations: 0 / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1433, allocations: 77.06 kB / 0.6617 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.1434, allocations: 85.12 kB / 0.6618 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1434, allocations: 0 / 0.6618 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.1434, allocations: 4.25 kB / 0.6618 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.1434, allocations: 0 / 0.6618 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1434, allocations: 11.94 kB / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.1435, allocations: 83.27 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1435, allocations: 0 / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001824/0.1437, allocations: 8 kB / 0.6619 GB, free: 10.86 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.0003278/0.144, allocations: 0.6163 MB / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.687e-05/0.1441, allocations: 12 kB / 0.6625 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1441, allocations: 0 / 0.6625 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.1441, allocations: 11.92 kB / 0.6626 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1443, allocations: 4.281 kB / 0.6626 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.1451, allocations: 1.149 MB / 0.6637 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.1453, allocations: 0.6768 MB / 0.6643 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.1453, allocations: 4 kB / 0.6643 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1454, allocations: 11.44 kB / 0.6644 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1454, allocations: 0 / 0.6644 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1602, allocations: 1.182 MB / 0.6655 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.098, allocations: 11.97 kB / 0.6655 GB, free: 7.129 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)