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.001049/0.001049, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 191.4 kB / 16.53 MB, free: 6.664 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 275 kB / 290.6 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 104.4 kB / 0.5952 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002779/0.1558, allocations: 1.83 MB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1568, allocations: 0.6905 MB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1569, allocations: 3.938 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1571, allocations: 32.64 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1573, allocations: 59.61 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1575, allocations: 72.55 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.1578, allocations: 265.2 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1579, allocations: 62.11 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1581, allocations: 103.7 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1583, allocations: 111.7 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.1583, allocations: 16 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.94e-05/0.1583, allocations: 16 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.1584, allocations: 55.83 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1585, allocations: 107.6 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1588, allocations: 239.2 kB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1588, allocations: 0 / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1588, allocations: 0 / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1588, allocations: 0 / 0.6837 GB, free: 13.06 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.0008032/0.1596, allocations: 0.5356 MB / 0.6843 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1596, allocations: 12.03 kB / 0.6843 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1597, allocations: 20.66 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1599, allocations: 224.1 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1599, allocations: 8.375 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.16, allocations: 20.36 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1603, allocations: 201.6 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1603, allocations: 4 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1604, allocations: 8 kB / 0.6847 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1604, allocations: 7.984 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1606, allocations: 116.6 kB / 0.6848 GB, free: 11.81 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.001046/0.1616, allocations: 1.009 MB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.1623, allocations: 214.4 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1625, allocations: 68.81 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1625, allocations: 0 / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1625, allocations: 38.55 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.1625, allocations: 0 / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004518/0.163, allocations: 229.3 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.163, allocations: 55.41 kB / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1632, allocations: 215.1 kB / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1633, allocations: 33.7 kB / 0.6866 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.1633, allocations: 136.2 kB / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.1634, allocations: 35.45 kB / 0.6868 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.1635, allocations: 53.7 kB / 0.6869 GB, free: 9.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1636, allocations: 334.8 kB / 0.6872 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1638, allocations: 151.9 kB / 0.6873 GB, free: 9.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1641, allocations: 210.2 kB / 0.6875 GB, free: 8.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.1658, allocations: 0.8971 MB / 0.6884 GB, free: 7.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1658, allocations: 3.938 kB / 0.6884 GB, free: 7.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006524/0.1664, allocations: 0.4988 MB / 0.6889 GB, free: 7.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.1665, allocations: 69.81 kB / 0.689 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1665, allocations: 4 kB / 0.689 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1665, allocations: 0 / 0.689 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1668, allocations: 47.91 kB / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1668, allocations: 4 kB / 0.689 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.167, allocations: 35.59 kB / 0.689 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.167, allocations: 11.98 kB / 0.6891 GB, free: 7.215 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.0002109/0.1672, allocations: 170.8 kB / 0.6892 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.1673, allocations: 19.75 kB / 0.6892 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.1673, allocations: 29.39 kB / 0.6893 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1673, allocations: 0 / 0.6893 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1673, allocations: 0 / 0.6893 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1673, allocations: 0 / 0.6893 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1676, allocations: 233.4 kB / 0.6895 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1676, allocations: 0 / 0.6895 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.1678, allocations: 31.98 kB / 0.6895 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1678, allocations: 0 / 0.6895 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1678, allocations: 7.984 kB / 0.6895 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1679, allocations: 4.312 kB / 0.6895 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1679, allocations: 4 kB / 0.6895 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.1683, allocations: 359 kB / 0.6899 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1684, allocations: 92.86 kB / 0.69 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1684, allocations: 4 kB / 0.69 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1685, allocations: 7.984 kB / 0.69 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1686, allocations: 4.062 kB / 0.69 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1686, allocations: 8 kB / 0.69 GB, free: 6.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1687, allocations: 157.1 kB / 0.6901 GB, free: 6.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.6901 GB, free: 6.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.169, allocations: 56 kB / 0.6902 GB, free: 5.961 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.786e-05/0.1691, allocations: 103.2 kB / 0.6903 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006872/0.1698, allocations: 0.6124 MB / 0.6909 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1699, allocations: 4.312 kB / 0.6909 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.17, allocations: 63.95 kB / 0.691 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1703, allocations: 32.61 kB / 0.691 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1714, allocations: 0.6985 MB / 0.6917 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1717, allocations: 0.7513 MB / 0.6924 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1718, allocations: 36.61 kB / 0.6924 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.1718, allocations: 15.44 kB / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1718, allocations: 0 / 0.6925 GB, free: 3.578 MB / 494.1 MB Notification: Performance of Templates: time 0.004881/0.1767, allocations: 2.381 MB / 0.6948 GB, free: 1.223 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)