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.001414/0.001414, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001446/0.001446, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 291.7 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 178.5 MB / 0.5079 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 95.83 kB / 0.6071 GB, free: 9.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1706, allocations: 89.14 MB / 0.6941 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003204/0.1739, allocations: 1.834 MB / 0.6959 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.175, allocations: 0.6896 MB / 0.6966 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.1751, allocations: 4 kB / 0.6966 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1753, allocations: 31.77 kB / 0.6966 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1755, allocations: 63.58 kB / 0.6967 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1757, allocations: 63.86 kB / 0.6968 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.176, allocations: 275.2 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1761, allocations: 56.86 kB / 0.6971 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1763, allocations: 103.7 kB / 0.6972 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1765, allocations: 103.7 kB / 0.6973 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1765, allocations: 16 kB / 0.6973 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.252e-05/0.1766, allocations: 24 kB / 0.6973 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.1767, allocations: 63.8 kB / 0.6974 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1768, allocations: 99.53 kB / 0.6975 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1771, allocations: 235.5 kB / 0.6977 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1771, allocations: 0 / 0.6977 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1771, allocations: 0 / 0.6977 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1771, allocations: 0 / 0.6977 GB, free: 12.34 MB / 0.545 GB 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.0008725/0.178, allocations: 0.5433 MB / 0.6982 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.178, allocations: 8.031 kB / 0.6982 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1781, allocations: 16.75 kB / 0.6983 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1783, allocations: 228.1 kB / 0.6985 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1784, allocations: 8.375 kB / 0.6985 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1784, allocations: 16.38 kB / 0.6985 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1788, allocations: 212.8 kB / 0.6987 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1788, allocations: 0 / 0.6987 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1788, allocations: 4 kB / 0.6987 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1788, allocations: 4 kB / 0.6987 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1791, allocations: 120.6 kB / 0.6988 GB, free: 11.08 MB / 0.545 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.001201/0.1803, allocations: 1.002 MB / 0.6998 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.181, allocations: 214.3 kB / 0.7 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1811, allocations: 72.81 kB / 0.7001 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1812, allocations: 7.938 kB / 0.7001 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1812, allocations: 30.56 kB / 0.7001 GB, free: 9.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1812, allocations: 0 / 0.7001 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.1817, allocations: 245.4 kB / 0.7003 GB, free: 9.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.1817, allocations: 51.41 kB / 0.7004 GB, free: 9.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.182, allocations: 230.8 kB / 0.7006 GB, free: 9.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.182, allocations: 25.7 kB / 0.7006 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.1821, allocations: 132 kB / 0.7008 GB, free: 8.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1821, allocations: 39.55 kB / 0.7008 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.1823, allocations: 53.69 kB / 0.7009 GB, free: 8.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1824, allocations: 326.8 kB / 0.7012 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1827, allocations: 163.9 kB / 0.7013 GB, free: 8.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.1829, allocations: 208.7 kB / 0.7015 GB, free: 8.094 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.1847, allocations: 0.8913 MB / 0.7024 GB, free: 7.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1847, allocations: 3.938 kB / 0.7024 GB, free: 7.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007221/0.1854, allocations: 0.5027 MB / 0.7029 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.886e-05/0.1855, allocations: 65.67 kB / 0.7029 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1855, allocations: 0 / 0.7029 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1855, allocations: 4 kB / 0.703 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1857, allocations: 47.91 kB / 0.703 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1857, allocations: 0 / 0.703 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1859, allocations: 43.61 kB / 0.703 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.186, allocations: 8 kB / 0.703 GB, free: 6.477 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 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 = 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 = 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 = 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 = 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.0002101/0.1862, allocations: 172.1 kB / 0.7032 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.1862, allocations: 11.81 kB / 0.7032 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.1863, allocations: 21.41 kB / 0.7032 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1863, allocations: 3.938 kB / 0.7032 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1863, allocations: 0 / 0.7032 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1863, allocations: 0 / 0.7032 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1866, allocations: 237.4 kB / 0.7035 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1866, allocations: 0 / 0.7035 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1868, allocations: 39.95 kB / 0.7035 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1868, allocations: 4 kB / 0.7035 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1868, allocations: 4 kB / 0.7035 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.1869, allocations: 8 kB / 0.7035 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1869, allocations: 0 / 0.7035 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1873, allocations: 343.2 kB / 0.7039 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1874, allocations: 96.8 kB / 0.7039 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1874, allocations: 3.984 kB / 0.7039 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1876, allocations: 16 kB / 0.704 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1876, allocations: 7.984 kB / 0.704 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1876, allocations: 0 / 0.704 GB, free: 5.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001322/0.1878, allocations: 156.6 kB / 0.7041 GB, free: 5.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.014e-06/0.1878, allocations: 0 / 0.7041 GB, free: 5.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002871/0.1881, allocations: 59.94 kB / 0.7042 GB, free: 5.219 MB / 0.545 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.0001073/0.1882, allocations: 99.25 kB / 0.7043 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.1889, allocations: 0.6202 MB / 0.7049 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.189, allocations: 3.938 kB / 0.7049 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1891, allocations: 67.95 kB / 0.7049 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1894, allocations: 32.61 kB / 0.705 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1906, allocations: 0.7276 MB / 0.7057 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1909, allocations: 0.7397 MB / 0.7064 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.191, allocations: 15.44 kB / 0.7064 GB, free: 2.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.191, allocations: 0 / 0.7064 GB, free: 2.84 MB / 0.545 GB Notification: Performance of Templates: time 0.004198/0.1952, allocations: 2.564 MB / 0.7089 GB, free: 288 kB / 0.545 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)