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.001183/0.001183, allocations: 100.1 kB / 15.88 MB, free: 12 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.001179/0.001179, allocations: 208.3 kB / 16.79 MB, free: 6.84 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.227/1.227, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.635/0.635, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.73 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002826/0.1348, allocations: 1.679 MB / 0.5575 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1367, allocations: 1.452 MB / 0.5589 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.1368, allocations: 4 kB / 0.5589 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1372, allocations: 43.84 kB / 0.559 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1374, allocations: 51.81 kB / 0.559 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1377, allocations: 94.89 kB / 0.5591 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1379, allocations: 159.6 kB / 0.5593 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1379, allocations: 12.2 kB / 0.5593 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.138, allocations: 47.84 kB / 0.5593 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1382, allocations: 75.67 kB / 0.5594 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1383, allocations: 4 kB / 0.5594 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1384, allocations: 59.98 kB / 0.5594 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.1385, allocations: 39.89 kB / 0.5595 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.1385, allocations: 63.52 kB / 0.5595 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1388, allocations: 183.7 kB / 0.5597 GB, free: 6.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1388, allocations: 0 / 0.5597 GB, free: 6.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1388, allocations: 0 / 0.5597 GB, free: 6.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1388, allocations: 0 / 0.5597 GB, free: 6.781 MB / 430.1 MB 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.00061/0.1394, allocations: 476.5 kB / 0.5602 GB, free: 6.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1395, allocations: 12.03 kB / 0.5602 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1395, allocations: 34.75 kB / 0.5602 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.1396, allocations: 24.75 kB / 0.5602 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1399, allocations: 259.9 kB / 0.5605 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1399, allocations: 8.359 kB / 0.5605 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.14, allocations: 7.938 kB / 0.5605 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1402, allocations: 115.3 kB / 0.5606 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1402, allocations: 0 / 0.5606 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1402, allocations: 4 kB / 0.5606 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1402, allocations: 4 kB / 0.5606 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.1405, allocations: 139.9 kB / 0.5608 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1407, allocations: 229.6 kB / 0.561 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.141, allocations: 178.4 kB / 0.5611 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.1412, allocations: 48.84 kB / 0.5612 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1412, allocations: 4 kB / 0.5612 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.1414, allocations: 111.3 kB / 0.5613 GB, free: 4.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1414, allocations: 4 kB / 0.5613 GB, free: 4.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004631/0.1419, allocations: 225.4 kB / 0.5615 GB, free: 4.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.142, allocations: 77.22 kB / 0.5616 GB, free: 4.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1422, allocations: 211.1 kB / 0.5618 GB, free: 4.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1422, allocations: 33.7 kB / 0.5618 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1423, allocations: 116.1 kB / 0.5619 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1423, allocations: 47.39 kB / 0.562 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.1424, allocations: 37.7 kB / 0.562 GB, free: 4.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1425, allocations: 322.8 kB / 0.5623 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.1426, allocations: 51.97 kB / 0.5624 GB, free: 3.816 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1427, allocations: 72.52 kB / 0.5624 GB, free: 3.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1429, allocations: 128.8 kB / 0.5626 GB, free: 3.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1429, allocations: 7.938 kB / 0.5626 GB, free: 3.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003013/0.1432, allocations: 185.4 kB / 0.5628 GB, free: 3.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1433, allocations: 4 kB / 0.5628 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1433, allocations: 3.938 kB / 0.5628 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1433, allocations: 4 kB / 0.5628 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1434, allocations: 27.98 kB / 0.5628 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1434, allocations: 0 / 0.5628 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.1435, allocations: 4 kB / 0.5628 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1435, allocations: 8.031 kB / 0.5628 GB, free: 3.363 MB / 430.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: 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.000113/0.1436, allocations: 149.6 kB / 0.5629 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1437, allocations: 15.81 kB / 0.563 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.1437, allocations: 25.52 kB / 0.563 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1437, allocations: 0 / 0.563 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1437, allocations: 4 kB / 0.563 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1437, allocations: 0 / 0.563 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1439, allocations: 241.4 kB / 0.5632 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1439, allocations: 0 / 0.5632 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.144, allocations: 23.98 kB / 0.5632 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.144, allocations: 3.984 kB / 0.5632 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.144, allocations: 8 kB / 0.5633 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.144, allocations: 4 kB / 0.5633 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1441, allocations: 0 / 0.5633 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1444, allocations: 212.8 kB / 0.5635 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.1444, allocations: 96.86 kB / 0.5636 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1445, allocations: 4 kB / 0.5636 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.1445, allocations: 15.94 kB / 0.5636 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1446, allocations: 7.984 kB / 0.5636 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1446, allocations: 7.984 kB / 0.5636 GB, free: 2.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1447, allocations: 151 kB / 0.5637 GB, free: 2.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1447, allocations: 0 / 0.5637 GB, free: 2.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.145, allocations: 43.98 kB / 0.5638 GB, free: 2.273 MB / 430.1 MB 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.001433/0.1464, allocations: 1.094 MB / 0.5648 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1467, allocations: 116 kB / 0.565 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1467, allocations: 4.062 kB / 0.565 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1468, allocations: 67.89 kB / 0.565 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1471, allocations: 35.97 kB / 0.5651 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1492, allocations: 1.958 MB / 0.567 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1494, allocations: 0.7205 MB / 0.5677 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1496, allocations: 57.64 kB / 0.5677 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1497, allocations: 59.41 kB / 0.5678 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1497, allocations: 0 / 0.5678 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.1648, allocations: 4.376 MB / 0.5721 GB, free: 10.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.1651, allocations: 276.9 kB / 0.5723 GB, free: 9.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.776, allocations: 3.938 kB / 0.5723 GB, free: 9.668 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)