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.00143/0.00143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001711/0.001711, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 287 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9865/0.9865, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 92.66 kB / 0.5947 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1703, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003005/0.1734, allocations: 1.694 MB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1753, allocations: 1.458 MB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.1754, allocations: 4 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.1758, allocations: 45.39 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.176, allocations: 47.83 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1762, allocations: 98.75 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1764, allocations: 168.2 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1765, allocations: 4.234 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.1766, allocations: 68.48 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1767, allocations: 68.62 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1768, allocations: 8 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1769, allocations: 68.59 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.177, allocations: 51.83 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.1771, allocations: 61.41 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1774, allocations: 191.7 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1774, allocations: 0 / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1774, allocations: 0 / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1774, allocations: 0 / 0.6836 GB, free: 13.02 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.0005728/0.178, allocations: 468.6 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.178, allocations: 15.97 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.1781, allocations: 16.75 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1784, allocations: 255.9 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1784, allocations: 8.312 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1785, allocations: 12.12 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.1787, allocations: 119.3 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1787, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1787, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1787, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1789, allocations: 143.9 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1792, allocations: 233.4 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1795, allocations: 174.5 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.1796, allocations: 56.78 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1797, allocations: 8 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1799, allocations: 115.3 kB / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1799, allocations: 0 / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000452/0.1804, allocations: 217.4 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1805, allocations: 85.11 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1806, allocations: 206.9 kB / 0.6856 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1807, allocations: 29.7 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1808, allocations: 108.1 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.1808, allocations: 47.44 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.1809, allocations: 37.7 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.181, allocations: 326.8 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.1811, allocations: 43.98 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1812, allocations: 74.55 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1814, allocations: 124.8 kB / 0.6864 GB, free: 9.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1814, allocations: 4 kB / 0.6864 GB, free: 9.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002905/0.1817, allocations: 193.4 kB / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1817, allocations: 4.109 kB / 0.6865 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1818, allocations: 7.922 kB / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1818, allocations: 4 kB / 0.6866 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1819, allocations: 27.98 kB / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1819, allocations: 4 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.182, allocations: 19.83 kB / 0.6866 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.182, allocations: 4 kB / 0.6866 GB, free: 9.645 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.0001146/0.1821, allocations: 139.1 kB / 0.6867 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1821, allocations: 15.81 kB / 0.6868 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.1822, allocations: 29.5 kB / 0.6868 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1822, allocations: 3.938 kB / 0.6868 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1822, allocations: 4 kB / 0.6868 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1823, allocations: 11.94 kB / 0.6868 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1825, allocations: 237.4 kB / 0.687 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1825, allocations: 0 / 0.687 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.1825, allocations: 19.98 kB / 0.687 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1825, allocations: 0 / 0.687 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1826, allocations: 4 kB / 0.6871 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1826, allocations: 0 / 0.6871 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1826, allocations: 3.984 kB / 0.6871 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1829, allocations: 212.8 kB / 0.6873 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.183, allocations: 100.8 kB / 0.6874 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.183, allocations: 8 kB / 0.6874 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.183, allocations: 4 kB / 0.6874 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1831, allocations: 7.984 kB / 0.6874 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1831, allocations: 8 kB / 0.6874 GB, free: 8.758 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1833, allocations: 156.2 kB / 0.6875 GB, free: 8.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1833, allocations: 0 / 0.6875 GB, free: 8.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1835, allocations: 36 kB / 0.6876 GB, free: 8.57 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.001041/0.1846, allocations: 458.9 kB / 0.688 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1849, allocations: 134.8 kB / 0.6881 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1849, allocations: 4 kB / 0.6881 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.185, allocations: 63.97 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1853, allocations: 37.05 kB / 0.6882 GB, free: 8.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.1858, allocations: 323.1 kB / 0.6885 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1861, allocations: 0.7241 MB / 0.6892 GB, free: 6.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1862, allocations: 45.5 kB / 0.6893 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.1863, allocations: 39.42 kB / 0.6893 GB, free: 6.883 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1863, allocations: 0 / 0.6893 GB, free: 6.883 MB / 494.1 MB Notification: Performance of Templates: time 0.005251/0.1916, allocations: 2.482 MB / 0.6918 GB, free: 4.453 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)