Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001298/0.001298, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 278.8 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 98.14 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 89.16 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003232/0.1639, allocations: 1.696 MB / 0.6945 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1661, allocations: 1.451 MB / 0.6959 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1662, allocations: 4 kB / 0.6959 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.1666, allocations: 47.81 kB / 0.6959 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1667, allocations: 51.83 kB / 0.696 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.167, allocations: 87.78 kB / 0.6961 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1672, allocations: 159.6 kB / 0.6962 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1673, allocations: 8.219 kB / 0.6962 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.1674, allocations: 59.77 kB / 0.6963 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1675, allocations: 63.75 kB / 0.6963 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1676, allocations: 4 kB / 0.6963 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1677, allocations: 59.97 kB / 0.6964 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.1678, allocations: 43.83 kB / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.1679, allocations: 51.66 kB / 0.6965 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1682, allocations: 195.6 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1682, allocations: 0 / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1682, allocations: 0 / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1682, allocations: 0 / 0.6967 GB, free: 0.8789 MB / 494.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.0006248/0.1688, allocations: 466.6 kB / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1689, allocations: 15.97 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.1689, allocations: 20.69 kB / 0.6972 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.1693, allocations: 256.3 kB / 0.6974 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1693, allocations: 8.359 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1693, allocations: 20.06 kB / 0.6974 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1696, allocations: 115.4 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1696, allocations: 0 / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1696, allocations: 0 / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1696, allocations: 0 / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1699, allocations: 143.9 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.1702, allocations: 229.5 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.1706, allocations: 174.5 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1707, allocations: 52.78 kB / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1707, allocations: 8 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.171, allocations: 115.3 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.171, allocations: 0 / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005032/0.1715, allocations: 224.8 kB / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1716, allocations: 85.11 kB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1718, allocations: 198.6 kB / 0.6987 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1718, allocations: 29.7 kB / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.1719, allocations: 108.1 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.172, allocations: 55.2 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.172, allocations: 33.7 kB / 0.6989 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1722, allocations: 334.8 kB / 0.6993 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1723, allocations: 47.97 kB / 0.6993 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1725, allocations: 73.08 kB / 0.6994 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1727, allocations: 117.7 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1727, allocations: 7.938 kB / 0.6995 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003387/0.173, allocations: 189.4 kB / 0.6997 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1731, allocations: 12.05 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1731, allocations: 112 / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1731, allocations: 7.938 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1732, allocations: 27.92 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1732, allocations: 0 / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.1733, allocations: 8 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1733, allocations: 4 kB / 0.6997 GB, free: 13.51 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.0001304/0.1734, allocations: 145.7 kB / 0.6999 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1735, allocations: 15.81 kB / 0.6999 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1736, allocations: 33.5 kB / 0.6999 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1736, allocations: 0 / 0.6999 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1736, allocations: 0 / 0.6999 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1736, allocations: 4 kB / 0.6999 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1738, allocations: 245.3 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1738, allocations: 3.984 kB / 0.7002 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.1739, allocations: 19.94 kB / 0.7002 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1739, allocations: 0 / 0.7002 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1739, allocations: 7.984 kB / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1739, allocations: 0 / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1739, allocations: 0 / 0.7002 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1743, allocations: 216.1 kB / 0.7004 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1744, allocations: 92.91 kB / 0.7005 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1744, allocations: 8 kB / 0.7005 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.1745, allocations: 4 kB / 0.7005 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1745, allocations: 7.984 kB / 0.7005 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1745, allocations: 4 kB / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001497/0.1747, allocations: 168.2 kB / 0.7007 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1747, allocations: 0 / 0.7007 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002448/0.175, allocations: 36 kB / 0.7007 GB, free: 12.43 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.001605/0.1766, allocations: 453.5 kB / 0.7011 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1769, allocations: 127 kB / 0.7012 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1769, allocations: 0 / 0.7012 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.177, allocations: 63.97 kB / 0.7013 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1773, allocations: 36.56 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.1779, allocations: 332.8 kB / 0.7017 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1782, allocations: 0.7243 MB / 0.7024 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.1784, allocations: 57.44 kB / 0.7024 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.1784, allocations: 27.42 kB / 0.7024 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1785, allocations: 0 / 0.7024 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.005923/0.1844, allocations: 2.393 MB / 0.7048 GB, free: 8.402 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)