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.007461/0.007461, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001912/0.001912, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7412/0.7412, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.27 kB / 0.5808 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00162/0.1362, allocations: 0.5133 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.1364, allocations: 43.86 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.1365, allocations: 3.938 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.1365, allocations: 3.938 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1367, allocations: 4 kB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.202e-05/0.1367, allocations: 7.984 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.1368, allocations: 11.94 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.1368, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.1369, allocations: 4 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.137, allocations: 11.98 kB / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.137, allocations: 0 / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.137, allocations: 0 / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.137, allocations: 11.92 kB / 0.6598 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.1371, allocations: 3.984 kB / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.826e-05/0.1371, allocations: 7.938 kB / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1371, allocations: 0 / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1372, allocations: 0 / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1372, allocations: 4 kB / 0.6598 GB, free: 10.16 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.0004235/0.1376, allocations: 335.7 kB / 0.6601 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1376, allocations: 8.031 kB / 0.6601 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1377, allocations: 30.75 kB / 0.6601 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1377, allocations: 4.938 kB / 0.6601 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1379, allocations: 180.3 kB / 0.6603 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1379, allocations: 384 / 0.6603 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1379, allocations: 8.062 kB / 0.6603 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.033e-05/0.138, allocations: 33.7 kB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.138, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.138, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.138, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.1381, allocations: 7.984 kB / 0.6604 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1382, allocations: 153.7 kB / 0.6605 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.1383, allocations: 18.92 kB / 0.6605 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.1383, allocations: 15.28 kB / 0.6605 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1383, allocations: 4 kB / 0.6605 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1383, allocations: 38.61 kB / 0.6606 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1383, allocations: 0 / 0.6606 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.1385, allocations: 41.69 kB / 0.6606 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.1385, allocations: 55.34 kB / 0.6607 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.1386, allocations: 109.8 kB / 0.6608 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1386, allocations: 25.7 kB / 0.6608 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.1387, allocations: 84.27 kB / 0.6609 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1387, allocations: 11.89 kB / 0.6609 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1387, allocations: 13.72 kB / 0.6609 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1388, allocations: 318.8 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1389, allocations: 7.938 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.1389, allocations: 17.97 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.139, allocations: 25.77 kB / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.139, allocations: 4 kB / 0.6613 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.294e-05/0.139, allocations: 53.56 kB / 0.6613 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1391, allocations: 4 kB / 0.6613 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1391, allocations: 4 kB / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1391, allocations: 0 / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.1391, allocations: 4 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1392, allocations: 0 / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1392, allocations: 0 / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1392, allocations: 8.047 kB / 0.6613 GB, free: 8.328 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.562e-05/0.1393, allocations: 110.7 kB / 0.6614 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.1393, allocations: 3.938 kB / 0.6614 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.1394, allocations: 52.75 kB / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1394, allocations: 0 / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1394, allocations: 0 / 0.6615 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1394, allocations: 3.984 kB / 0.6615 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1395, allocations: 165.6 kB / 0.6617 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1395, allocations: 4.031 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.1396, allocations: 7.922 kB / 0.6617 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1396, allocations: 4 kB / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1396, allocations: 0 / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1396, allocations: 0 / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1396, allocations: 0 / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.1397, allocations: 84.94 kB / 0.6618 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1398, allocations: 81.14 kB / 0.6618 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1398, allocations: 4.094 kB / 0.6618 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.1398, allocations: 7.938 kB / 0.6618 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1399, allocations: 0 / 0.6618 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1399, allocations: 0 / 0.6618 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.1399, allocations: 87.27 kB / 0.6619 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1399, allocations: 0 / 0.6619 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000175/0.1401, allocations: 8 kB / 0.6619 GB, free: 7.609 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.00036/0.1405, allocations: 0.6086 MB / 0.6625 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.1406, allocations: 19.92 kB / 0.6625 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1406, allocations: 0 / 0.6625 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.1406, allocations: 4 kB / 0.6626 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1407, allocations: 6.078 kB / 0.6626 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008939/0.1416, allocations: 1.151 MB / 0.6637 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1419, allocations: 0.6768 MB / 0.6643 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.1419, allocations: 0 / 0.6643 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.1419, allocations: 15.44 kB / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1419, allocations: 3.938 kB / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1672, allocations: 1.177 MB / 0.6655 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.96, allocations: 4.062 kB / 0.6655 GB, free: 3.879 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)