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.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001368/0.001368, allocations: 195.1 kB / 16.14 MB, free: 6.637 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002686/0.002686, allocations: 283.1 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 96.47 kB / 0.6057 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1572, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003239/0.1605, allocations: 1.893 MB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1617, allocations: 0.6923 MB / 0.6953 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.1618, allocations: 4 kB / 0.6953 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1621, allocations: 31.83 kB / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1623, allocations: 56.31 kB / 0.6954 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1625, allocations: 59.94 kB / 0.6955 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.1629, allocations: 303.1 kB / 0.6957 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.163, allocations: 37.09 kB / 0.6958 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1632, allocations: 91.75 kB / 0.6959 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1634, allocations: 107.6 kB / 0.696 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.1634, allocations: 16 kB / 0.696 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.1635, allocations: 12 kB / 0.696 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.1635, allocations: 51.81 kB / 0.696 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1637, allocations: 95.59 kB / 0.6961 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.164, allocations: 231.5 kB / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.164, allocations: 0 / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.164, allocations: 0 / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.164, allocations: 0 / 0.6964 GB, free: 1.184 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.0009641/0.165, allocations: 0.5394 MB / 0.6969 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.165, allocations: 8.031 kB / 0.6969 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.1651, allocations: 24.73 kB / 0.6969 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1654, allocations: 216.1 kB / 0.6971 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1654, allocations: 12.38 kB / 0.6971 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.1655, allocations: 12.38 kB / 0.6971 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.1659, allocations: 208.9 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1659, allocations: 3.938 kB / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1659, allocations: 8 kB / 0.6974 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1659, allocations: 0 / 0.6974 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1662, allocations: 116.6 kB / 0.6975 GB, free: 15.94 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.001214/0.1674, allocations: 1.002 MB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.1682, allocations: 210.4 kB / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.1684, allocations: 76.8 kB / 0.6987 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1684, allocations: 0 / 0.6987 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1684, allocations: 30.56 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1684, allocations: 0 / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005207/0.1689, allocations: 241.5 kB / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.169, allocations: 51.41 kB / 0.699 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1692, allocations: 224.1 kB / 0.6992 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1693, allocations: 25.7 kB / 0.6993 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1694, allocations: 144 kB / 0.6994 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1694, allocations: 35.55 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1695, allocations: 61.62 kB / 0.6995 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1697, allocations: 326.8 kB / 0.6998 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.17, allocations: 155.9 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.1702, allocations: 205 kB / 0.7002 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.1721, allocations: 0.8971 MB / 0.701 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1721, allocations: 3.938 kB / 0.701 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000758/0.1729, allocations: 0.4949 MB / 0.7015 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.173, allocations: 61.67 kB / 0.7016 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.173, allocations: 7.984 kB / 0.7016 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.173, allocations: 4 kB / 0.7016 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.1733, allocations: 48.12 kB / 0.7016 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1733, allocations: 7.938 kB / 0.7016 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1735, allocations: 39.61 kB / 0.7017 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.1735, allocations: 8 kB / 0.7017 GB, free: 11.34 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.0002467/0.1738, allocations: 177.8 kB / 0.7019 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.1738, allocations: 19.81 kB / 0.7019 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.1739, allocations: 21.39 kB / 0.7019 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1739, allocations: 4 kB / 0.7019 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1739, allocations: 3.938 kB / 0.7019 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1739, allocations: 0 / 0.7019 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1742, allocations: 233.4 kB / 0.7021 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1742, allocations: 0 / 0.7021 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1745, allocations: 35.97 kB / 0.7022 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1745, allocations: 0 / 0.7022 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1745, allocations: 8 kB / 0.7022 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1745, allocations: 0 / 0.7022 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1745, allocations: 0 / 0.7022 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.175, allocations: 347.2 kB / 0.7025 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.1751, allocations: 92.86 kB / 0.7026 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.1751, allocations: 8.062 kB / 0.7026 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1753, allocations: 7.984 kB / 0.7026 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1753, allocations: 7.938 kB / 0.7026 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1754, allocations: 8.109 kB / 0.7026 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001401/0.1755, allocations: 155.4 kB / 0.7028 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1755, allocations: 0 / 0.7028 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003092/0.1758, allocations: 59.91 kB / 0.7028 GB, free: 10.09 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.0001181/0.1759, allocations: 103.2 kB / 0.7029 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.1767, allocations: 0.6123 MB / 0.7035 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1768, allocations: 0 / 0.7035 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1769, allocations: 76.2 kB / 0.7036 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1773, allocations: 27.92 kB / 0.7036 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1785, allocations: 0.7468 MB / 0.7043 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1789, allocations: 0.7361 MB / 0.7051 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.179, allocations: 44.59 kB / 0.7051 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.1791, allocations: 15.44 kB / 0.7051 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1791, allocations: 0 / 0.7051 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.005484/0.1846, allocations: 2.245 MB / 0.7073 GB, free: 5.434 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)