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.0007735/0.0007734, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004928/0.004928, allocations: 170 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001716, allocations: 278.3 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004205, allocations: 12.88 kB / 0.5987 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002076/0.1656, allocations: 1.345 MB / 0.6865 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1678, allocations: 1.433 MB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.1678, allocations: 0.5 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1682, allocations: 57.59 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1684, allocations: 47.83 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1687, allocations: 87.78 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1689, allocations: 151.6 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.169, allocations: 16.2 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.1691, allocations: 56.52 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1692, allocations: 64.94 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1693, allocations: 8 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1694, allocations: 59.97 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1695, allocations: 45.42 kB / 0.6884 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1696, allocations: 77.36 kB / 0.6885 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1699, allocations: 191.6 kB / 0.6887 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1699, allocations: 0 / 0.6887 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1699, allocations: 5.109 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1699, allocations: 0 / 0.6887 GB, free: 11.41 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.0005918/0.1705, allocations: 432 kB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1705, allocations: 12.03 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.1706, allocations: 20.69 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1709, allocations: 257.5 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.171, allocations: 4.375 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.171, allocations: 12.12 kB / 0.6894 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.1712, allocations: 116.6 kB / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1713, allocations: 0 / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1713, allocations: 2.719 kB / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1713, allocations: 0 / 0.6895 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1715, allocations: 147.8 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.1718, allocations: 233.5 kB / 0.6899 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1722, allocations: 176.2 kB / 0.69 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.1723, allocations: 56.77 kB / 0.6901 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1723, allocations: 4 kB / 0.6901 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.1726, allocations: 121 kB / 0.6902 GB, free: 9.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1726, allocations: 0 / 0.6902 GB, free: 9.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004783/0.1731, allocations: 221.3 kB / 0.6904 GB, free: 9.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1731, allocations: 81.83 kB / 0.6905 GB, free: 9.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1733, allocations: 202.9 kB / 0.6907 GB, free: 9.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1734, allocations: 39.09 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1735, allocations: 108.1 kB / 0.6908 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.1735, allocations: 47.44 kB / 0.6909 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1736, allocations: 18.38 kB / 0.6909 GB, free: 8.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1737, allocations: 331.5 kB / 0.6912 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1738, allocations: 51.97 kB / 0.6913 GB, free: 8.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1739, allocations: 72.38 kB / 0.6913 GB, free: 8.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1741, allocations: 125.6 kB / 0.6915 GB, free: 8.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1741, allocations: 0 / 0.6915 GB, free: 8.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003016/0.1744, allocations: 193.4 kB / 0.6916 GB, free: 8.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1744, allocations: 4 kB / 0.6916 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1745, allocations: 4.172 kB / 0.6916 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1745, allocations: 7.938 kB / 0.6917 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1746, allocations: 27.92 kB / 0.6917 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1746, allocations: 0 / 0.6917 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.1747, allocations: 11.94 kB / 0.6917 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1747, allocations: 4 kB / 0.6917 GB, free: 8.098 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.000125/0.1748, allocations: 145 kB / 0.6918 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1749, allocations: 19.72 kB / 0.6919 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.1749, allocations: 21.53 kB / 0.6919 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1749, allocations: 4 kB / 0.6919 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.175, allocations: 7.969 kB / 0.6919 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.175, allocations: 4 kB / 0.6919 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1752, allocations: 233.5 kB / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1752, allocations: 0 / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.1752, allocations: 23.92 kB / 0.6921 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1753, allocations: 0 / 0.6921 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1753, allocations: 4 kB / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1753, allocations: 0 / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1753, allocations: 0 / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1756, allocations: 220.3 kB / 0.6923 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1757, allocations: 92.92 kB / 0.6924 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1757, allocations: 7.984 kB / 0.6924 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.1758, allocations: 7.938 kB / 0.6925 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1758, allocations: 7.984 kB / 0.6925 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1758, allocations: 15.94 kB / 0.6925 GB, free: 7.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.176, allocations: 152.2 kB / 0.6926 GB, free: 7.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.176, allocations: 4 kB / 0.6926 GB, free: 7.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1762, allocations: 36 kB / 0.6927 GB, free: 7.023 MB / 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.001061/0.1773, allocations: 451.3 kB / 0.6931 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.1776, allocations: 130.8 kB / 0.6932 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1776, allocations: 0 / 0.6932 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1777, allocations: 51.98 kB / 0.6933 GB, free: 6.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.178, allocations: 40.64 kB / 0.6933 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.1787, allocations: 342.1 kB / 0.6936 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.179, allocations: 0.7205 MB / 0.6943 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1791, allocations: 57.5 kB / 0.6944 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.1792, allocations: 27.42 kB / 0.6944 GB, free: 5.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1792, allocations: 0 / 0.6944 GB, free: 5.34 MB / 494.1 MB Notification: Performance of Templates: time 0.005385/0.1846, allocations: 2.38 MB / 0.6967 GB, free: 3.008 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)