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.0007838/0.0007838, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006104/0.006104, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 282.4 kB / 291.7 MB, free: 1.883 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.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.00044, allocations: 14.75 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.001882/0.1647, allocations: 1.549 MB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.1657, allocations: 0.6799 MB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1658, allocations: 0.8438 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.166, allocations: 31.83 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1662, allocations: 52.86 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1664, allocations: 59.92 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.1667, allocations: 299.1 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1668, allocations: 44.08 kB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1669, allocations: 87.81 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1671, allocations: 109.6 kB / 0.6879 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1671, allocations: 8 kB / 0.688 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.1672, allocations: 12 kB / 0.688 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.1673, allocations: 59.81 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1674, allocations: 113.3 kB / 0.6881 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.1676, allocations: 232.4 kB / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1676, allocations: 0 / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1676, allocations: 0 / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1676, allocations: 0 / 0.6884 GB, free: 11.74 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.0007565/0.1684, allocations: 0.5072 MB / 0.6888 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1684, allocations: 15.95 kB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1685, allocations: 20.75 kB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1687, allocations: 213.3 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1688, allocations: 12.38 kB / 0.6891 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1688, allocations: 16.28 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.1692, allocations: 211.1 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1692, allocations: 3.938 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1692, allocations: 4.5 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1692, allocations: 5.719 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1695, allocations: 120.6 kB / 0.6894 GB, free: 10.53 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.001042/0.1705, allocations: 1.014 MB / 0.6904 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.1712, allocations: 214.3 kB / 0.6906 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1714, allocations: 76.81 kB / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1714, allocations: 0 / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1714, allocations: 34.56 kB / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.1714, allocations: 0 / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005024/0.1719, allocations: 241.7 kB / 0.691 GB, free: 8.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.172, allocations: 51.41 kB / 0.691 GB, free: 8.742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1722, allocations: 226.9 kB / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1722, allocations: 25.7 kB / 0.6913 GB, free: 8.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.1723, allocations: 140 kB / 0.6914 GB, free: 8.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1723, allocations: 39.53 kB / 0.6914 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1724, allocations: 33.7 kB / 0.6915 GB, free: 8.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1725, allocations: 330.8 kB / 0.6918 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1727, allocations: 155.9 kB / 0.6919 GB, free: 7.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.173, allocations: 212.5 kB / 0.6921 GB, free: 7.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.1748, allocations: 0.9088 MB / 0.693 GB, free: 6.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1748, allocations: 3.938 kB / 0.693 GB, free: 6.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006768/0.1755, allocations: 0.5143 MB / 0.6935 GB, free: 6.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.1756, allocations: 63.55 kB / 0.6936 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1756, allocations: 7.938 kB / 0.6936 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.1756, allocations: 0 / 0.6936 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.1758, allocations: 47.97 kB / 0.6936 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1758, allocations: 8 kB / 0.6936 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.176, allocations: 39.67 kB / 0.6937 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.1761, allocations: 12.16 kB / 0.6937 GB, free: 5.898 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.0002409/0.1763, allocations: 181.2 kB / 0.6939 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1764, allocations: 15.81 kB / 0.6939 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.1764, allocations: 21.39 kB / 0.6939 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1765, allocations: 4 kB / 0.6939 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1765, allocations: 0 / 0.6939 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1765, allocations: 3.938 kB / 0.6939 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1767, allocations: 229.4 kB / 0.6941 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1767, allocations: 0 / 0.6941 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.177, allocations: 35.98 kB / 0.6942 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.177, allocations: 0 / 0.6942 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.177, allocations: 7.984 kB / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.177, allocations: 0 / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.177, allocations: 3.938 kB / 0.6942 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.1775, allocations: 359.1 kB / 0.6945 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1776, allocations: 96.92 kB / 0.6946 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1776, allocations: 0 / 0.6946 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1777, allocations: 11.98 kB / 0.6946 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1778, allocations: 3.938 kB / 0.6946 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1778, allocations: 8 kB / 0.6946 GB, free: 4.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1779, allocations: 152.6 kB / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1782, allocations: 59.91 kB / 0.6948 GB, free: 4.641 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 9.773e-05/0.1783, allocations: 103.2 kB / 0.6949 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.179, allocations: 0.6085 MB / 0.6955 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.179, allocations: 0 / 0.6955 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1792, allocations: 76.2 kB / 0.6956 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1795, allocations: 31.92 kB / 0.6956 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1807, allocations: 0.8397 MB / 0.6965 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.181, allocations: 0.7322 MB / 0.6972 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1811, allocations: 44.61 kB / 0.6972 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.1811, allocations: 11.44 kB / 0.6972 GB, free: 2.121 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1811, allocations: 0 / 0.6972 GB, free: 2.121 MB / 494.1 MB Notification: Performance of Templates: time 0.004827/0.186, allocations: 2.226 MB / 0.6994 GB, free: 15.92 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)