Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_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.001897/0.001897, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.002088/0.002088, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8145/0.8145, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 76.66 kB / 0.5736 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1433, allocations: 78.86 MB / 0.6506 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002903/0.1462, allocations: 1.632 MB / 0.6522 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1483, allocations: 1.487 MB / 0.6536 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.1484, allocations: 4 kB / 0.6536 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.1488, allocations: 51.7 kB / 0.6537 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.149, allocations: 59.75 kB / 0.6537 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1492, allocations: 99.62 kB / 0.6538 GB, free: 356 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1495, allocations: 167.6 kB / 0.654 GB, free: 188 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1495, allocations: 8.234 kB / 0.654 GB, free: 176 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1496, allocations: 59.77 kB / 0.6541 GB, free: 116 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1498, allocations: 63.81 kB / 0.6541 GB, free: 52 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1498, allocations: 12 kB / 0.6541 GB, free: 40 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.15, allocations: 71.95 kB / 0.6542 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1501, allocations: 47.83 kB / 0.6542 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.1502, allocations: 55.61 kB / 0.6543 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1505, allocations: 195.5 kB / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1505, allocations: 0 / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1505, allocations: 0 / 0.6545 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1505, allocations: 0 / 0.6545 GB, free: 15.68 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.0006418/0.1511, allocations: 482.2 kB / 0.6549 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1512, allocations: 15.97 kB / 0.655 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.1512, allocations: 38.73 kB / 0.655 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1513, allocations: 16.84 kB / 0.655 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1517, allocations: 260.3 kB / 0.6553 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1517, allocations: 3.984 kB / 0.6553 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1517, allocations: 8 kB / 0.6553 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.152, allocations: 119.2 kB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.152, allocations: 0 / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.152, allocations: 0 / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.152, allocations: 8 kB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.1523, allocations: 139.9 kB / 0.6555 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.1526, allocations: 241.4 kB / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.153, allocations: 170.6 kB / 0.6559 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1531, allocations: 52.83 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1531, allocations: 4 kB / 0.656 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1533, allocations: 114.3 kB / 0.6561 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1533, allocations: 0 / 0.6561 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004943/0.1538, allocations: 225.5 kB / 0.6563 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1539, allocations: 77.11 kB / 0.6564 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1541, allocations: 210.3 kB / 0.6566 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1542, allocations: 37.69 kB / 0.6566 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.1543, allocations: 112.1 kB / 0.6567 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.1543, allocations: 51.52 kB / 0.6568 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1544, allocations: 29.72 kB / 0.6568 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1545, allocations: 338.8 kB / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1546, allocations: 47.98 kB / 0.6572 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1548, allocations: 66.55 kB / 0.6572 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.155, allocations: 125.7 kB / 0.6573 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.155, allocations: 0 / 0.6573 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003308/0.1553, allocations: 197 kB / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1554, allocations: 7.938 kB / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1554, allocations: 0 / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1554, allocations: 8 kB / 0.6575 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1555, allocations: 27.98 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1555, allocations: 3.938 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1556, allocations: 7.953 kB / 0.6576 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1556, allocations: 12.02 kB / 0.6576 GB, free: 12.23 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.0001471/0.1558, allocations: 145.7 kB / 0.6577 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1558, allocations: 11.91 kB / 0.6577 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.1559, allocations: 29.52 kB / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1559, allocations: 0 / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1559, allocations: 0 / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1559, allocations: 0 / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1561, allocations: 241.5 kB / 0.658 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1562, allocations: 3.938 kB / 0.658 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1562, allocations: 23.98 kB / 0.658 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1562, allocations: 3.938 kB / 0.658 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1563, allocations: 8 kB / 0.658 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1563, allocations: 0 / 0.658 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.1563, allocations: 7.969 kB / 0.658 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1566, allocations: 204.9 kB / 0.6582 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1567, allocations: 93 kB / 0.6583 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.1568, allocations: 8 kB / 0.6583 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.673e-05/0.1568, allocations: 8 kB / 0.6583 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1569, allocations: 15.97 kB / 0.6584 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1569, allocations: 4 kB / 0.6584 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001501/0.157, allocations: 156.2 kB / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.157, allocations: 0 / 0.6585 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002571/0.1573, allocations: 39.94 kB / 0.6585 GB, free: 11.15 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.00218/0.1595, allocations: 1.095 MB / 0.6596 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1598, allocations: 123.9 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1598, allocations: 8.062 kB / 0.6597 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1599, allocations: 59.91 kB / 0.6598 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1602, allocations: 39.34 kB / 0.6598 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1625, allocations: 1.948 MB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1628, allocations: 0.7202 MB / 0.6624 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00011/0.163, allocations: 49.67 kB / 0.6625 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1631, allocations: 69.84 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1631, allocations: 0 / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.1895, allocations: 4.686 MB / 0.6671 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.276, allocations: 3.938 kB / 0.6671 GB, free: 2.523 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)