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.001198/0.001198, allocations: 116.7 kB / 16.37 MB, free: 6 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.001046/0.001046, allocations: 193.1 kB / 17.31 MB, free: 5.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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 295.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 91.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1786, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003416/0.182, allocations: 1.824 MB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1832, allocations: 0.6896 MB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1833, allocations: 0 / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1836, allocations: 35.77 kB / 0.6841 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.1838, allocations: 71.58 kB / 0.6842 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.184, allocations: 51.92 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1844, allocations: 275.2 kB / 0.6845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1846, allocations: 64.98 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1848, allocations: 107.8 kB / 0.6846 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.185, allocations: 107.6 kB / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.185, allocations: 16 kB / 0.6848 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.1851, allocations: 20 kB / 0.6848 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.1851, allocations: 55.81 kB / 0.6848 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1853, allocations: 107.5 kB / 0.6849 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1856, allocations: 243.2 kB / 0.6852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1856, allocations: 4 kB / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1856, allocations: 0 / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1856, allocations: 0 / 0.6852 GB, free: 3.793 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.0008321/0.1864, allocations: 0.5356 MB / 0.6857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1865, allocations: 8.031 kB / 0.6857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.1865, allocations: 24.66 kB / 0.6857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1868, allocations: 212.1 kB / 0.6859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1868, allocations: 16.38 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.1869, allocations: 16.38 kB / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1872, allocations: 214.6 kB / 0.6862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1872, allocations: 0 / 0.6862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1872, allocations: 4 kB / 0.6862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1873, allocations: 0 / 0.6862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1875, allocations: 124.6 kB / 0.6863 GB, free: 2.543 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.001084/0.1886, allocations: 1.002 MB / 0.6873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.1893, allocations: 214.4 kB / 0.6875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1894, allocations: 72.78 kB / 0.6875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1894, allocations: 4 kB / 0.6875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1895, allocations: 34.56 kB / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1895, allocations: 0 / 0.6876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000452/0.1899, allocations: 233.5 kB / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.19, allocations: 59.39 kB / 0.6878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1902, allocations: 219.7 kB / 0.6881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1902, allocations: 29.64 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.1903, allocations: 140 kB / 0.6882 GB, free: 376 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1903, allocations: 35.47 kB / 0.6883 GB, free: 340 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.1904, allocations: 57.69 kB / 0.6883 GB, free: 276 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2432/0.4336, allocations: 326.8 kB / 0.6886 GB, free: 18.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.434, allocations: 153.4 kB / 0.6888 GB, free: 18.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.4344, allocations: 203.1 kB / 0.689 GB, free: 18.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.4363, allocations: 0.8924 MB / 0.6898 GB, free: 17.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4363, allocations: 0.9062 kB / 0.6898 GB, free: 17.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007284/0.437, allocations: 0.4955 MB / 0.6903 GB, free: 17.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.4371, allocations: 64.5 kB / 0.6904 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4371, allocations: 3.25 kB / 0.6904 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4372, allocations: 2.625 kB / 0.6904 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.4374, allocations: 49.73 kB / 0.6904 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4374, allocations: 5.219 kB / 0.6904 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4376, allocations: 39.33 kB / 0.6905 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.4377, allocations: 12.11 kB / 0.6905 GB, free: 17.8 MB / 494.1 MB 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.0001947/0.4379, allocations: 172.2 kB / 0.6906 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.4379, allocations: 14.97 kB / 0.6907 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.438, allocations: 20.27 kB / 0.6907 GB, free: 17.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.438, allocations: 5.094 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.438, allocations: 1.469 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.438, allocations: 1.078 kB / 0.6907 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4382, allocations: 224 kB / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4382, allocations: 1.438 kB / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.4385, allocations: 35.42 kB / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4385, allocations: 0 / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.4385, allocations: 12.81 kB / 0.691 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4385, allocations: 5.094 kB / 0.691 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4386, allocations: 4.5 kB / 0.691 GB, free: 17.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.439, allocations: 347.7 kB / 0.6913 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.4391, allocations: 95.19 kB / 0.6914 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4391, allocations: 9.297 kB / 0.6914 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4393, allocations: 13.36 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.4393, allocations: 4.547 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4393, allocations: 3.641 kB / 0.6914 GB, free: 17.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4394, allocations: 151.2 kB / 0.6916 GB, free: 17.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4394, allocations: 1.188 kB / 0.6916 GB, free: 17.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00031/0.4398, allocations: 56.28 kB / 0.6916 GB, free: 17.05 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 8.5e-05/0.4398, allocations: 104.2 kB / 0.6917 GB, free: 16.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.4405, allocations: 0.6087 MB / 0.6923 GB, free: 16.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4406, allocations: 1.5 kB / 0.6923 GB, free: 16.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4407, allocations: 71.94 kB / 0.6924 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.441, allocations: 35.36 kB / 0.6924 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4421, allocations: 0.6871 MB / 0.6931 GB, free: 16.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.4423, allocations: 0.7432 MB / 0.6938 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4424, allocations: 39.59 kB / 0.6938 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.4424, allocations: 14.25 kB / 0.6939 GB, free: 15.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4425, allocations: 4 kB / 0.6939 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Templates: time 0.005877/0.4483, allocations: 2.394 MB / 0.6962 GB, free: 15.36 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)