Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, 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.001101/0.001101, allocations: 195.1 kB / 16.14 MB, free: 6.66 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 279.1 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 91.67 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1756, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.00303/0.1787, allocations: 1.888 MB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1797, allocations: 0.6896 MB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.1798, allocations: 4 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.18, allocations: 35.77 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1802, allocations: 59.7 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1804, allocations: 51.89 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1807, allocations: 295.2 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1809, allocations: 49.34 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.181, allocations: 95.7 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1812, allocations: 103.7 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1812, allocations: 8 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.1813, allocations: 12 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.1813, allocations: 63.8 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1815, allocations: 95.58 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1817, allocations: 231.2 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1817, allocations: 0 / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1817, allocations: 0 / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1817, allocations: 4 kB / 0.683 GB, free: 13.51 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008343/0.1825, allocations: 0.5317 MB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1826, allocations: 12.03 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.1827, allocations: 20.66 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1829, allocations: 224.6 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1829, allocations: 8.375 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.183, allocations: 16.38 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1833, allocations: 214.1 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1834, allocations: 0 / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1834, allocations: 0 / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1834, allocations: 4 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1836, allocations: 128.5 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1847, allocations: 1.002 MB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.1854, allocations: 210.4 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1856, allocations: 64.81 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1856, allocations: 0 / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1856, allocations: 50.5 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1856, allocations: 0 / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004623/0.1861, allocations: 225.4 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1861, allocations: 55.41 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1863, allocations: 218.9 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1864, allocations: 29.7 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.1865, allocations: 144.1 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1865, allocations: 39.45 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.1866, allocations: 53.7 kB / 0.6861 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1867, allocations: 334.8 kB / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1869, allocations: 151.9 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1872, allocations: 206.2 kB / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.1889, allocations: 0.8894 MB / 0.6877 GB, free: 8.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1889, allocations: 3.938 kB / 0.6877 GB, free: 8.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006497/0.1896, allocations: 0.4989 MB / 0.6882 GB, free: 7.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.1896, allocations: 69.59 kB / 0.6882 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1896, allocations: 4 kB / 0.6882 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1897, allocations: 3.984 kB / 0.6882 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1899, allocations: 47.92 kB / 0.6883 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1899, allocations: 3.984 kB / 0.6883 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1901, allocations: 35.59 kB / 0.6883 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1901, allocations: 12 kB / 0.6883 GB, free: 7.664 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[5]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.000234/0.1904, allocations: 190.8 kB / 0.6885 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1904, allocations: 11.81 kB / 0.6885 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.1905, allocations: 21.41 kB / 0.6885 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1905, allocations: 0 / 0.6885 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1905, allocations: 0 / 0.6885 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1905, allocations: 3.984 kB / 0.6885 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1907, allocations: 233.4 kB / 0.6888 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1907, allocations: 0 / 0.6888 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.191, allocations: 35.98 kB / 0.6888 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.191, allocations: 0 / 0.6888 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.191, allocations: 7.984 kB / 0.6888 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.191, allocations: 0 / 0.6888 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.191, allocations: 8 kB / 0.6888 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.1915, allocations: 351 kB / 0.6892 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1916, allocations: 92.91 kB / 0.6892 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1916, allocations: 4.062 kB / 0.6892 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1917, allocations: 8 kB / 0.6893 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.1918, allocations: 7.984 kB / 0.6893 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1918, allocations: 0 / 0.6893 GB, free: 6.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1919, allocations: 152.6 kB / 0.6894 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1919, allocations: 0 / 0.6894 GB, free: 6.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1922, allocations: 63.94 kB / 0.6895 GB, free: 6.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001237/0.1924, allocations: 99.25 kB / 0.6896 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007471/0.1931, allocations: 0.6148 MB / 0.6902 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1931, allocations: 0 / 0.6902 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1933, allocations: 67.95 kB / 0.6902 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1936, allocations: 35.86 kB / 0.6903 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1949, allocations: 0.7511 MB / 0.691 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1953, allocations: 0.74 MB / 0.6917 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.1954, allocations: 36.61 kB / 0.6918 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.1954, allocations: 15.42 kB / 0.6918 GB, free: 3.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1955, allocations: 0 / 0.6918 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Templates: time 0.0051/0.2006, allocations: 2.24 MB / 0.694 GB, free: 1.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)