Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.00543/0.00543, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001124/0.001124, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.231/1.231, 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.7369/0.7369, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.66 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00307/0.1568, allocations: 1.631 MB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1589, allocations: 1.491 MB / 0.6623 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.1591, allocations: 0 / 0.6623 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1595, allocations: 51.75 kB / 0.6623 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1597, allocations: 55.7 kB / 0.6624 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.16, allocations: 107.7 kB / 0.6625 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1603, allocations: 167.6 kB / 0.6626 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1603, allocations: 20.14 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1604, allocations: 63.75 kB / 0.6627 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1606, allocations: 63.81 kB / 0.6628 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1606, allocations: 8 kB / 0.6628 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1608, allocations: 67.97 kB / 0.6628 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.1609, allocations: 47.83 kB / 0.6629 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.161, allocations: 59.59 kB / 0.6629 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1613, allocations: 195.5 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1613, allocations: 7.984 kB / 0.6631 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1613, allocations: 0 / 0.6631 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1613, allocations: 0 / 0.6631 GB, free: 6.742 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006339/0.162, allocations: 474.2 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.162, allocations: 8.031 kB / 0.6636 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.1621, allocations: 38.75 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1621, allocations: 16.84 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1625, allocations: 271.5 kB / 0.6639 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1626, allocations: 8 kB / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1626, allocations: 4 kB / 0.6639 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1628, allocations: 111.3 kB / 0.664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1628, allocations: 0 / 0.664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1629, allocations: 4 kB / 0.664 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1629, allocations: 4 kB / 0.664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.1631, allocations: 143.7 kB / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.1634, allocations: 237.4 kB / 0.6644 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1637, allocations: 170.6 kB / 0.6646 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1638, allocations: 56.84 kB / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1639, allocations: 7.984 kB / 0.6646 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1641, allocations: 114.5 kB / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1641, allocations: 4 kB / 0.6647 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004802/0.1646, allocations: 217.5 kB / 0.6649 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1647, allocations: 81.11 kB / 0.665 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1649, allocations: 204.1 kB / 0.6652 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1649, allocations: 29.7 kB / 0.6652 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.165, allocations: 112.1 kB / 0.6653 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.1651, allocations: 55.56 kB / 0.6654 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.1651, allocations: 33.7 kB / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1653, allocations: 334.8 kB / 0.6658 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1654, allocations: 47.97 kB / 0.6658 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1655, allocations: 78.48 kB / 0.6659 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1657, allocations: 121.8 kB / 0.666 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1657, allocations: 3.938 kB / 0.666 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000319/0.166, allocations: 197.5 kB / 0.6662 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1661, allocations: 4 kB / 0.6662 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1661, allocations: 0 / 0.6662 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1661, allocations: 0 / 0.6662 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1662, allocations: 27.98 kB / 0.6662 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1662, allocations: 0 / 0.6662 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.1663, allocations: 11.95 kB / 0.6662 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1663, allocations: 4 kB / 0.6662 GB, free: 3.309 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001148/0.1664, allocations: 142.5 kB / 0.6664 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1665, allocations: 23.92 kB / 0.6664 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.1665, allocations: 25.53 kB / 0.6664 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1665, allocations: 0 / 0.6664 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1665, allocations: 0 / 0.6664 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1666, allocations: 3.984 kB / 0.6664 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1668, allocations: 241.5 kB / 0.6666 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1668, allocations: 0 / 0.6666 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1668, allocations: 19.98 kB / 0.6667 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1668, allocations: 3.984 kB / 0.6667 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1669, allocations: 0 / 0.6667 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1669, allocations: 8 kB / 0.6667 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1669, allocations: 7.938 kB / 0.6667 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.1672, allocations: 220.1 kB / 0.6669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.1673, allocations: 89.02 kB / 0.667 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1673, allocations: 4 kB / 0.667 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.1674, allocations: 7.984 kB / 0.667 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1674, allocations: 11.98 kB / 0.667 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1674, allocations: 4 kB / 0.667 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001332/0.1676, allocations: 163 kB / 0.6672 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1676, allocations: 0 / 0.6672 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002446/0.1678, allocations: 35.94 kB / 0.6672 GB, free: 2.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001527/0.1694, allocations: 1.096 MB / 0.6683 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1697, allocations: 123.9 kB / 0.6684 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1697, allocations: 0 / 0.6684 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1698, allocations: 55.98 kB / 0.6684 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1701, allocations: 36.14 kB / 0.6685 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1722, allocations: 1.953 MB / 0.6704 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1725, allocations: 0.7241 MB / 0.6711 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.1727, allocations: 65.5 kB / 0.6711 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1728, allocations: 55.41 kB / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1728, allocations: 0 / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1954, allocations: 4.67 MB / 0.6758 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.667, allocations: 16.42 kB / 0.6758 GB, free: 9.641 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)