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.004944/0.004944, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001264/0.001264, allocations: 194 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 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8281/0.8281, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.53 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1494, allocations: 81.03 MB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001645/0.1511, allocations: 0.5016 MB / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.1513, allocations: 15.92 kB / 0.6654 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1513, allocations: 0 / 0.6654 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1513, allocations: 0 / 0.6654 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1515, allocations: 0 / 0.6654 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.462e-06/0.1515, allocations: 11.94 kB / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.1515, allocations: 7.984 kB / 0.6654 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1516, allocations: 0 / 0.6654 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.1516, allocations: 7.922 kB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.1516, allocations: 4 kB / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1517, allocations: 0 / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/0.1517, allocations: 0 / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1517, allocations: 0 / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.1517, allocations: 0 / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.975e-05/0.1518, allocations: 3.938 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1518, allocations: 0 / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1518, allocations: 4 kB / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1518, allocations: 0 / 0.6654 GB, free: 5.062 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002905/0.1521, allocations: 311.6 kB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1521, allocations: 13.11 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1522, allocations: 34.75 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.1522, allocations: 0.9375 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1523, allocations: 160.7 kB / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.1523, allocations: 4.312 kB / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1523, allocations: 8.125 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1525, allocations: 47.34 kB / 0.6659 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1525, allocations: 4 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1525, allocations: 0 / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1525, allocations: 0 / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.1525, allocations: 4 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.1527, allocations: 158.5 kB / 0.6661 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.1527, allocations: 47.81 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.1528, allocations: 13.66 kB / 0.6662 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1528, allocations: 8.047 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1528, allocations: 30.91 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1528, allocations: 0 / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.153, allocations: 49.62 kB / 0.6662 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.153, allocations: 81.11 kB / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.265e-05/0.1531, allocations: 89.86 kB / 0.6664 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1531, allocations: 25.7 kB / 0.6664 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.1531, allocations: 84.08 kB / 0.6665 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1532, allocations: 7.953 kB / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1532, allocations: 13.72 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1533, allocations: 315.1 kB / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.1534, allocations: 4 kB / 0.6668 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.1534, allocations: 13.72 kB / 0.6669 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.1534, allocations: 21.72 kB / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1534, allocations: 3.938 kB / 0.6669 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.583e-05/0.1535, allocations: 45.56 kB / 0.6669 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1535, allocations: 12.12 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1535, allocations: 0 / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1535, allocations: 0 / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.1536, allocations: 8 kB / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1536, allocations: 0 / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.1536, allocations: 0 / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1537, allocations: 4 kB / 0.6669 GB, free: 3.207 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.076e-05/0.1537, allocations: 109.8 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.1537, allocations: 3.938 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1539, allocations: 56.75 kB / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1539, allocations: 0 / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1539, allocations: 0 / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1539, allocations: 0 / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.154, allocations: 153.6 kB / 0.6673 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.154, allocations: 3.938 kB / 0.6673 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.154, allocations: 7.938 kB / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.154, allocations: 3.938 kB / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1541, allocations: 0 / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1541, allocations: 4.062 kB / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1541, allocations: 0 / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.365e-05/0.1542, allocations: 73.98 kB / 0.6673 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1542, allocations: 81.05 kB / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.1542, allocations: 0 / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.1542, allocations: 3.984 kB / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.1543, allocations: 8.031 kB / 0.6674 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1543, allocations: 3.984 kB / 0.6674 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.1543, allocations: 79.22 kB / 0.6675 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1543, allocations: 0 / 0.6675 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001701/0.1545, allocations: 0 / 0.6675 GB, free: 2.516 MB / 0.4981 GB 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.0003662/0.1549, allocations: 0.6055 MB / 0.6681 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.155, allocations: 11.94 kB / 0.6681 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.155, allocations: 0 / 0.6681 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.155, allocations: 4 kB / 0.6681 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1551, allocations: 3.938 kB / 0.6681 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.1554, allocations: 127.6 kB / 0.6682 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1557, allocations: 0.669 MB / 0.6689 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.1557, allocations: 3.984 kB / 0.6689 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.1558, allocations: 15.38 kB / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1558, allocations: 0 / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1773, allocations: 0.9144 MB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.661, allocations: 6.906 kB / 0.6698 GB, free: 124 kB / 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)