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.001506/0.001506, allocations: 111.2 kB / 15.99 MB, free: 6.344 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.00153/0.00153, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 280.1 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9079/0.9079, allocations: 169.2 MB / 0.4985 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 88.64 kB / 0.5954 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1685, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002652/0.1712, allocations: 1.692 MB / 0.6819 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.173, allocations: 1.456 MB / 0.6834 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.1731, allocations: 0 / 0.6834 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.1735, allocations: 51.83 kB / 0.6834 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1736, allocations: 43.77 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1738, allocations: 98.83 kB / 0.6835 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.174, allocations: 163.6 kB / 0.6837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.1741, allocations: 8.219 kB / 0.6837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.1742, allocations: 71.7 kB / 0.6838 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1743, allocations: 63.8 kB / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1744, allocations: 15.98 kB / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1745, allocations: 63.98 kB / 0.6839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.1746, allocations: 51.77 kB / 0.684 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.1746, allocations: 55.67 kB / 0.684 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1748, allocations: 147.9 kB / 0.6842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1748, allocations: 0 / 0.6842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1748, allocations: 3.938 kB / 0.6842 GB, free: 4.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1749, allocations: 0 / 0.6842 GB, free: 4.578 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.0005577/0.1754, allocations: 466.7 kB / 0.6846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1755, allocations: 12.03 kB / 0.6846 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.1755, allocations: 20.75 kB / 0.6846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1758, allocations: 260.4 kB / 0.6849 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1758, allocations: 8.375 kB / 0.6849 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1759, allocations: 8.125 kB / 0.6849 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1761, allocations: 115.3 kB / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1761, allocations: 0 / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1761, allocations: 4 kB / 0.685 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1761, allocations: 0 / 0.685 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.1763, allocations: 143.9 kB / 0.6852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.1766, allocations: 233.4 kB / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.1769, allocations: 178.5 kB / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.177, allocations: 52.78 kB / 0.6856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1771, allocations: 7.984 kB / 0.6856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1773, allocations: 111.4 kB / 0.6857 GB, free: 2.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1773, allocations: 0 / 0.6857 GB, free: 2.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004423/0.1778, allocations: 225.4 kB / 0.6859 GB, free: 2.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1778, allocations: 81.11 kB / 0.686 GB, free: 2.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.178, allocations: 202.9 kB / 0.6862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.178, allocations: 33.7 kB / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.1781, allocations: 108.1 kB / 0.6863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1781, allocations: 47.44 kB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.1782, allocations: 33.7 kB / 0.6864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1783, allocations: 334.8 kB / 0.6867 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.1784, allocations: 47.98 kB / 0.6868 GB, free: 1.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1785, allocations: 66.55 kB / 0.6868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1787, allocations: 136.9 kB / 0.687 GB, free: 1.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1787, allocations: 0 / 0.687 GB, free: 1.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002828/0.179, allocations: 197.3 kB / 0.6872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.179, allocations: 4 kB / 0.6872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.179, allocations: 0 / 0.6872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1791, allocations: 4 kB / 0.6872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1792, allocations: 27.98 kB / 0.6872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1792, allocations: 0 / 0.6872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1792, allocations: 11.84 kB / 0.6872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1793, allocations: 7.938 kB / 0.6872 GB, free: 1.203 MB / 494.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.0001064/0.1794, allocations: 159 kB / 0.6874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1794, allocations: 15.81 kB / 0.6874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1795, allocations: 21.53 kB / 0.6874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1795, allocations: 3.984 kB / 0.6874 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1795, allocations: 0 / 0.6874 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1795, allocations: 4 kB / 0.6874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1797, allocations: 233.5 kB / 0.6876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1797, allocations: 0 / 0.6876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.1797, allocations: 19.98 kB / 0.6876 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1797, allocations: 4 kB / 0.6877 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1798, allocations: 8 kB / 0.6877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1798, allocations: 0 / 0.6877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1798, allocations: 0 / 0.6877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1801, allocations: 212.7 kB / 0.6879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1801, allocations: 88.95 kB / 0.6879 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1802, allocations: 8 kB / 0.688 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.1802, allocations: 11.98 kB / 0.688 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1803, allocations: 8 kB / 0.688 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.1803, allocations: 7.984 kB / 0.688 GB, free: 328 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1804, allocations: 152.2 kB / 0.6881 GB, free: 176 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1804, allocations: 0 / 0.6881 GB, free: 176 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1807, allocations: 39.98 kB / 0.6882 GB, free: 136 kB / 494.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.2603/0.4409, allocations: 457.2 kB / 0.6886 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.4415, allocations: 139 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4415, allocations: 3.75 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4416, allocations: 59.23 kB / 0.6888 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.442, allocations: 33.61 kB / 0.6888 GB, free: 18.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.4426, allocations: 369.3 kB / 0.6892 GB, free: 18.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.4427, allocations: 0.7193 MB / 0.6899 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.4428, allocations: 29.2 kB / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4428, allocations: 0 / 0.6899 GB, free: 17.61 MB / 494.1 MB Notification: Performance of Templates: time 0.005639/0.4485, allocations: 2.8 MB / 0.6926 GB, free: 17.35 MB / 494.1 MB 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)