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.0009426/0.0009427, allocations: 98.97 kB / 16.02 MB, free: 80 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.001096/0.001096, allocations: 183.8 kB / 16.92 MB, free: 6.754 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 77.53 MB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001758/0.1275, allocations: 1.341 MB / 0.5614 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1293, allocations: 1.425 MB / 0.5628 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.1294, allocations: 4 kB / 0.5628 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.1298, allocations: 55.81 kB / 0.5628 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1299, allocations: 47.83 kB / 0.5629 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1302, allocations: 83.84 kB / 0.563 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1304, allocations: 159.6 kB / 0.5631 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1304, allocations: 8.172 kB / 0.5631 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.1305, allocations: 51.83 kB / 0.5632 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1307, allocations: 71.69 kB / 0.5632 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1307, allocations: 4 kB / 0.5632 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1309, allocations: 63.95 kB / 0.5633 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.1309, allocations: 43.91 kB / 0.5633 GB, free: 5.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.131, allocations: 81.3 kB / 0.5634 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1313, allocations: 187.7 kB / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1313, allocations: 0 / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1313, allocations: 0 / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1313, allocations: 0 / 0.5636 GB, free: 5.285 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.0005423/0.1319, allocations: 446.8 kB / 0.564 GB, free: 4.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1319, allocations: 8.031 kB / 0.564 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.132, allocations: 38.75 kB / 0.5641 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.132, allocations: 20.75 kB / 0.5641 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1323, allocations: 255.9 kB / 0.5643 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1323, allocations: 4.375 kB / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1324, allocations: 7.938 kB / 0.5643 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1326, allocations: 123.2 kB / 0.5645 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.1326, allocations: 0 / 0.5645 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1326, allocations: 7.969 kB / 0.5645 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1326, allocations: 0 / 0.5645 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.1328, allocations: 143.9 kB / 0.5646 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.1331, allocations: 233.4 kB / 0.5648 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1334, allocations: 178.4 kB / 0.565 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.1335, allocations: 48.84 kB / 0.565 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1335, allocations: 7.984 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.1338, allocations: 115.3 kB / 0.5652 GB, free: 3.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1338, allocations: 0 / 0.5652 GB, free: 3.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004274/0.1342, allocations: 220.7 kB / 0.5654 GB, free: 3.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1343, allocations: 89.05 kB / 0.5655 GB, free: 3.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1345, allocations: 207.3 kB / 0.5656 GB, free: 2.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1345, allocations: 29.64 kB / 0.5657 GB, free: 2.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1346, allocations: 116.1 kB / 0.5658 GB, free: 2.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1346, allocations: 47.39 kB / 0.5658 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1347, allocations: 17.72 kB / 0.5659 GB, free: 2.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1348, allocations: 330.8 kB / 0.5662 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.1349, allocations: 43.98 kB / 0.5662 GB, free: 2.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.135, allocations: 70.55 kB / 0.5663 GB, free: 2.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1352, allocations: 121.7 kB / 0.5664 GB, free: 2.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1352, allocations: 7.969 kB / 0.5664 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003086/0.1355, allocations: 189.4 kB / 0.5666 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1355, allocations: 8 kB / 0.5666 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1355, allocations: 0 / 0.5666 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1356, allocations: 0 / 0.5666 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1357, allocations: 27.92 kB / 0.5666 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1357, allocations: 4 kB / 0.5666 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1357, allocations: 11.91 kB / 0.5666 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1358, allocations: 7.984 kB / 0.5666 GB, free: 1.902 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.0001035/0.1359, allocations: 140 kB / 0.5668 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1359, allocations: 19.81 kB / 0.5668 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.136, allocations: 21.52 kB / 0.5668 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.136, allocations: 4 kB / 0.5668 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.136, allocations: 0 / 0.5668 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.136, allocations: 0 / 0.5668 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1362, allocations: 241.4 kB / 0.567 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1362, allocations: 0 / 0.567 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.1363, allocations: 23.92 kB / 0.5671 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1363, allocations: 8 kB / 0.5671 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1363, allocations: 4 kB / 0.5671 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1363, allocations: 0 / 0.5671 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1363, allocations: 11.92 kB / 0.5671 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1366, allocations: 212.6 kB / 0.5673 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1367, allocations: 92.91 kB / 0.5674 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.1367, allocations: 11.94 kB / 0.5674 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.1368, allocations: 4 kB / 0.5674 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1368, allocations: 15.98 kB / 0.5674 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1368, allocations: 7.984 kB / 0.5674 GB, free: 1.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.137, allocations: 151 kB / 0.5676 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.137, allocations: 0 / 0.5676 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1372, allocations: 43.98 kB / 0.5676 GB, free: 0.8203 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.001409/0.1387, allocations: 1.092 MB / 0.5687 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1389, allocations: 119.8 kB / 0.5688 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1389, allocations: 0 / 0.5688 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.139, allocations: 67.97 kB / 0.5689 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1393, allocations: 35.97 kB / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1413, allocations: 1.969 MB / 0.5708 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1416, allocations: 0.7127 MB / 0.5715 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.1417, allocations: 53.66 kB / 0.5716 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.1418, allocations: 63.41 kB / 0.5716 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1418, allocations: 3.938 kB / 0.5716 GB, free: 12.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.1567, allocations: 4.142 MB / 0.5757 GB, free: 8.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.157, allocations: 271.9 kB / 0.5759 GB, free: 8.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.93, allocations: 0 / 0.5759 GB, free: 8.48 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)