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.001662/0.001662, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001923/0.001923, allocations: 197.3 kB / 16.26 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002536/0.002536, allocations: 294.3 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5069 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 99.7 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1679, allocations: 89.15 MB / 0.693 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003164/0.1711, allocations: 1.892 MB / 0.6948 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1722, allocations: 0.6838 MB / 0.6955 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1723, allocations: 0 / 0.6955 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1726, allocations: 31.77 kB / 0.6955 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1728, allocations: 51.73 kB / 0.6956 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.173, allocations: 59.88 kB / 0.6956 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1733, allocations: 272.7 kB / 0.6959 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1735, allocations: 53.09 kB / 0.6959 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1736, allocations: 111.7 kB / 0.696 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1738, allocations: 107.7 kB / 0.6961 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1739, allocations: 16 kB / 0.6962 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.1739, allocations: 24 kB / 0.6962 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.174, allocations: 55.81 kB / 0.6962 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1741, allocations: 103.5 kB / 0.6963 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1744, allocations: 239.5 kB / 0.6966 GB, free: 1.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1744, allocations: 3.938 kB / 0.6966 GB, free: 1.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1744, allocations: 0 / 0.6966 GB, free: 1.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1744, allocations: 0 / 0.6966 GB, free: 1.074 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.0009077/0.1753, allocations: 0.5394 MB / 0.6971 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1754, allocations: 16.02 kB / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.1755, allocations: 16.75 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1757, allocations: 216.1 kB / 0.6973 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1758, allocations: 8.375 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.1758, allocations: 20.31 kB / 0.6974 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1762, allocations: 204.9 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1762, allocations: 4 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1763, allocations: 4 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1763, allocations: 4 kB / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1765, allocations: 116.6 kB / 0.6977 GB, free: 15.83 MB / 0.4981 GB 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.001255/0.1778, allocations: 1.01 MB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.1786, allocations: 206.4 kB / 0.6989 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1787, allocations: 84.73 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1788, allocations: 0 / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1788, allocations: 34.56 kB / 0.699 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1788, allocations: 0 / 0.699 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.1793, allocations: 233.5 kB / 0.6992 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1794, allocations: 51.41 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1796, allocations: 224.1 kB / 0.6995 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1796, allocations: 29.7 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1798, allocations: 136 kB / 0.6996 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1798, allocations: 39.53 kB / 0.6997 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1799, allocations: 53.69 kB / 0.6997 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1801, allocations: 330.8 kB / 0.7 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1804, allocations: 163.9 kB / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.1806, allocations: 205 kB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.1825, allocations: 0.8893 MB / 0.7012 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1825, allocations: 3.938 kB / 0.7012 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007671/0.1833, allocations: 0.4989 MB / 0.7017 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.1834, allocations: 63.23 kB / 0.7018 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1834, allocations: 4 kB / 0.7018 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1834, allocations: 0 / 0.7018 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1837, allocations: 47.91 kB / 0.7018 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1837, allocations: 4.312 kB / 0.7018 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1839, allocations: 39.61 kB / 0.7019 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.184, allocations: 12.16 kB / 0.7019 GB, free: 11.23 MB / 0.4981 GB 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.0002519/0.1842, allocations: 184.2 kB / 0.7021 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1843, allocations: 15.81 kB / 0.7021 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.1843, allocations: 25.39 kB / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1843, allocations: 0 / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1843, allocations: 0 / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1843, allocations: 0 / 0.7021 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1846, allocations: 233.4 kB / 0.7023 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1846, allocations: 3.984 kB / 0.7023 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1849, allocations: 35.97 kB / 0.7024 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1849, allocations: 4 kB / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.185, allocations: 8 kB / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.185, allocations: 0 / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.185, allocations: 0 / 0.7024 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1855, allocations: 355.1 kB / 0.7027 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.1856, allocations: 92.86 kB / 0.7028 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1856, allocations: 0 / 0.7028 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1858, allocations: 16.05 kB / 0.7028 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1858, allocations: 4 kB / 0.7028 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1858, allocations: 3.984 kB / 0.7028 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001327/0.186, allocations: 151.4 kB / 0.703 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.186, allocations: 0 / 0.703 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003209/0.1863, allocations: 59.91 kB / 0.703 GB, free: 9.973 MB / 0.4981 GB 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.0001174/0.1864, allocations: 107.2 kB / 0.7031 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.1872, allocations: 0.6163 MB / 0.7037 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1873, allocations: 0 / 0.7037 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1874, allocations: 71.89 kB / 0.7038 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1877, allocations: 38.61 kB / 0.7038 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.189, allocations: 0.7494 MB / 0.7046 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1894, allocations: 0.7397 MB / 0.7053 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.1895, allocations: 36.61 kB / 0.7053 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.1896, allocations: 15.44 kB / 0.7053 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1896, allocations: 4 kB / 0.7053 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.005638/0.1952, allocations: 2.359 MB / 0.7077 GB, free: 5.199 MB / 0.4981 GB 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)