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.005448/0.005448, allocations: 99.69 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.001281/0.001281, allocations: 192.2 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8486/0.8486, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 71.73 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 80.21 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001443/0.1385, allocations: 0.499 MB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.1387, allocations: 35.88 kB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.1388, allocations: 0 / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.1388, allocations: 4 kB / 0.6597 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1389, allocations: 7.938 kB / 0.6597 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.711e-05/0.139, allocations: 15.86 kB / 0.6597 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.1391, allocations: 7.984 kB / 0.6597 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1391, allocations: 4 kB / 0.6597 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.1391, allocations: 0 / 0.6597 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.1392, allocations: 15.92 kB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1392, allocations: 4 kB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.1392, allocations: 0 / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.1393, allocations: 3.938 kB / 0.6598 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1393, allocations: 7.984 kB / 0.6598 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.605e-05/0.1394, allocations: 15.92 kB / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1394, allocations: 0 / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1394, allocations: 0 / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1394, allocations: 0 / 0.6598 GB, free: 13.32 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.0004169/0.1398, allocations: 329.8 kB / 0.6601 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1399, allocations: 12.03 kB / 0.6601 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1399, allocations: 38.73 kB / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.1399, allocations: 0.9375 kB / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1401, allocations: 176.3 kB / 0.6603 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1401, allocations: 4.375 kB / 0.6603 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1402, allocations: 8.125 kB / 0.6603 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.243e-05/0.1402, allocations: 33.69 kB / 0.6604 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1403, allocations: 0 / 0.6604 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.1403, allocations: 3.938 kB / 0.6604 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1403, allocations: 0 / 0.6604 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.1403, allocations: 4 kB / 0.6604 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1405, allocations: 153.7 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.1405, allocations: 22.91 kB / 0.6605 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.1405, allocations: 12.86 kB / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1406, allocations: 0 / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1406, allocations: 30.56 kB / 0.6606 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1406, allocations: 0 / 0.6606 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.1407, allocations: 45.62 kB / 0.6606 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1408, allocations: 51.41 kB / 0.6607 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.1409, allocations: 118 kB / 0.6608 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1409, allocations: 29.64 kB / 0.6608 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.141, allocations: 84.12 kB / 0.6609 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.141, allocations: 7.891 kB / 0.6609 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.141, allocations: 17.72 kB / 0.6609 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1412, allocations: 314.8 kB / 0.6612 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.1412, allocations: 7.984 kB / 0.6612 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.1412, allocations: 17.72 kB / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.1413, allocations: 29.64 kB / 0.6613 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1413, allocations: 3.938 kB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.577e-05/0.1414, allocations: 49.56 kB / 0.6613 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1414, allocations: 4 kB / 0.6613 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1414, allocations: 0 / 0.6613 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1414, allocations: 0 / 0.6613 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.1415, allocations: 8.125 kB / 0.6613 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.1415, allocations: 4 kB / 0.6613 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1415, allocations: 4 kB / 0.6613 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1415, allocations: 0 / 0.6613 GB, free: 11.49 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 7.435e-05/0.1416, allocations: 110.5 kB / 0.6615 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1416, allocations: 7.922 kB / 0.6615 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1417, allocations: 48.81 kB / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1417, allocations: 0 / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.1417, allocations: 7.969 kB / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1418, allocations: 256 / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.1419, allocations: 157.6 kB / 0.6617 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1419, allocations: 4 kB / 0.6617 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.1419, allocations: 4 kB / 0.6617 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1419, allocations: 0 / 0.6617 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.142, allocations: 3.984 kB / 0.6617 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.142, allocations: 4 kB / 0.6617 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.142, allocations: 0 / 0.6617 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1421, allocations: 83.45 kB / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1422, allocations: 77.11 kB / 0.6618 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1422, allocations: 8.016 kB / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.1422, allocations: 0 / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.1422, allocations: 0 / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1422, allocations: 0 / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.1423, allocations: 95.2 kB / 0.6619 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1423, allocations: 3.938 kB / 0.6619 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001757/0.1425, allocations: 4 kB / 0.6619 GB, free: 10.78 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.0004043/0.1429, allocations: 0.6086 MB / 0.6625 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.57e-05/0.143, allocations: 15.94 kB / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.143, allocations: 0 / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.143, allocations: 16.2 kB / 0.6626 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.1432, allocations: 0 / 0.6626 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1442, allocations: 1.162 MB / 0.6637 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1445, allocations: 0.6807 MB / 0.6644 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.49e-05/0.1445, allocations: 0 / 0.6644 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1445, allocations: 15.44 kB / 0.6644 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1445, allocations: 0 / 0.6644 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.1663, allocations: 1.169 MB / 0.6655 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.812, allocations: 6.688 kB / 0.6655 GB, free: 7.051 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)