Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9257/0.9257, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.78 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001633/0.148, allocations: 0.4958 MB / 0.585 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.1481, allocations: 19.91 kB / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.1481, allocations: 0 / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1482, allocations: 0 / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1483, allocations: 3.938 kB / 0.585 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.1483, allocations: 4 kB / 0.585 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.279e-05/0.1483, allocations: 7.984 kB / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.1484, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.1484, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.1484, allocations: 7.938 kB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1485, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-06/0.1485, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1485, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.1485, allocations: 3.984 kB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.35e-05/0.1485, allocations: 0 / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1486, allocations: 0 / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1486, allocations: 4 kB / 0.585 GB, free: 3.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1486, allocations: 3.938 kB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002614/0.1488, allocations: 315.6 kB / 0.5853 GB, free: 3.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1489, allocations: 12.03 kB / 0.5853 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1489, allocations: 34.73 kB / 0.5854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.149, allocations: 0.9375 kB / 0.5854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.1491, allocations: 164.3 kB / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1491, allocations: 384 / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1491, allocations: 8.312 kB / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1492, allocations: 51.34 kB / 0.5856 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1492, allocations: 4 kB / 0.5856 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1492, allocations: 4 kB / 0.5856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1492, allocations: 0 / 0.5856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.1493, allocations: 3.938 kB / 0.5856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1494, allocations: 158.5 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.1495, allocations: 41.28 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.1495, allocations: 13.72 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1496, allocations: 8 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1496, allocations: 34.5 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1496, allocations: 0 / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.1497, allocations: 45.81 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1498, allocations: 85.11 kB / 0.5859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.395e-05/0.1498, allocations: 89.86 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1498, allocations: 25.7 kB / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1499, allocations: 80.14 kB / 0.5861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1499, allocations: 4.188 kB / 0.5861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1499, allocations: 13.72 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.15, allocations: 314.8 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.1501, allocations: 8.047 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.1501, allocations: 13.72 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.1501, allocations: 17.66 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1501, allocations: 0 / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.1502, allocations: 45.62 kB / 0.5865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1502, allocations: 8.125 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1502, allocations: 4 kB / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1502, allocations: 0 / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.1503, allocations: 7.938 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1503, allocations: 0 / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1504, allocations: 3.938 kB / 0.5866 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1504, allocations: 4 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB 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.271e-05/0.1504, allocations: 105.8 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1504, allocations: 7.844 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1506, allocations: 52.75 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1506, allocations: 7.938 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1506, allocations: 3.938 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1506, allocations: 0 / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.1507, allocations: 153.7 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1507, allocations: 0 / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.1507, allocations: 7.938 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1508, allocations: 0 / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1508, allocations: 0 / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1508, allocations: 4.062 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1508, allocations: 0 / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.475e-05/0.1509, allocations: 73.92 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1509, allocations: 81.05 kB / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1509, allocations: 0 / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.1509, allocations: 4 kB / 0.587 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.151, allocations: 12.02 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.151, allocations: 0 / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.151, allocations: 75.28 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1512, allocations: 4 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003561/0.1516, allocations: 0.6054 MB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.1516, allocations: 8 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1516, allocations: 0 / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.1517, allocations: 8 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1518, allocations: 2.5 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.1521, allocations: 131.7 kB / 0.5879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1524, allocations: 0.669 MB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.1524, allocations: 7.984 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.1525, allocations: 7.438 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1525, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1669, allocations: 0.891 MB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.134, allocations: 12.27 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)