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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 193.2 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003288/0.003288, allocations: 292.5 kB / 307.1 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 180.7 MB / 0.5304 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] 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=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=240,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 106 kB / 0.731 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1618, allocations: 94.2 MB / 0.823 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003333/0.1651, allocations: 1.871 MB / 0.8249 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1664, allocations: 0.6895 MB / 0.8255 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1665, allocations: 0 / 0.8255 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1667, allocations: 39.77 kB / 0.8256 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1669, allocations: 71.53 kB / 0.8256 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1671, allocations: 59.91 kB / 0.8257 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.1675, allocations: 271.1 kB / 0.826 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1676, allocations: 45.19 kB / 0.826 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1678, allocations: 99.81 kB / 0.8261 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.168, allocations: 115.6 kB / 0.8262 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.168, allocations: 20 kB / 0.8262 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.728e-05/0.1681, allocations: 16 kB / 0.8262 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1682, allocations: 63.8 kB / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1683, allocations: 103.5 kB / 0.8264 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1685, allocations: 243.1 kB / 0.8266 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1686, allocations: 0 / 0.8266 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1686, allocations: 0 / 0.8266 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1686, allocations: 0 / 0.8266 GB, free: 14.34 MB / 0.5762 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.0008263/0.1694, allocations: 483.1 kB / 0.8271 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1694, allocations: 12.03 kB / 0.8271 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1695, allocations: 20.8 kB / 0.8271 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1697, allocations: 170.7 kB / 0.8273 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1697, allocations: 8.375 kB / 0.8273 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.1698, allocations: 20.36 kB / 0.8273 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.1701, allocations: 200.9 kB / 0.8275 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1701, allocations: 7.938 kB / 0.8275 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1702, allocations: 0 / 0.8275 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1702, allocations: 7.984 kB / 0.8275 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1704, allocations: 124.6 kB / 0.8276 GB, free: 13.23 MB / 0.5762 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.001168/0.1716, allocations: 0.9626 MB / 0.8286 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.1723, allocations: 206.4 kB / 0.8288 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1724, allocations: 68.81 kB / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1724, allocations: 4 kB / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1725, allocations: 38.55 kB / 0.8289 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1725, allocations: 0 / 0.8289 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004821/0.173, allocations: 229.6 kB / 0.8291 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.173, allocations: 51.41 kB / 0.8292 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1732, allocations: 224.1 kB / 0.8294 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1732, allocations: 25.7 kB / 0.8294 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.1733, allocations: 152.2 kB / 0.8295 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1734, allocations: 31.73 kB / 0.8296 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.1735, allocations: 61.59 kB / 0.8296 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1736, allocations: 330.8 kB / 0.8299 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1738, allocations: 151.9 kB / 0.8301 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1741, allocations: 206.2 kB / 0.8303 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.1759, allocations: 0.8958 MB / 0.8312 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1759, allocations: 0 / 0.8312 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007206/0.1766, allocations: 0.499 MB / 0.8316 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/0.1767, allocations: 61.66 kB / 0.8317 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1767, allocations: 4 kB / 0.8317 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1767, allocations: 0 / 0.8317 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1769, allocations: 47.97 kB / 0.8318 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1769, allocations: 7.938 kB / 0.8318 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1771, allocations: 35.67 kB / 0.8318 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1771, allocations: 15.94 kB / 0.8318 GB, free: 8.691 MB / 0.5762 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.0002235/0.1774, allocations: 180 kB / 0.832 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1774, allocations: 15.91 kB / 0.832 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.1775, allocations: 21.39 kB / 0.832 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1775, allocations: 7.984 kB / 0.832 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1775, allocations: 0 / 0.832 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1775, allocations: 0 / 0.832 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1777, allocations: 200.5 kB / 0.8322 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1777, allocations: 0 / 0.8322 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.178, allocations: 39.92 kB / 0.8323 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.178, allocations: 0 / 0.8323 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.178, allocations: 11.98 kB / 0.8323 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.178, allocations: 320 / 0.8323 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.178, allocations: 0 / 0.8323 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.1785, allocations: 347.2 kB / 0.8326 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1785, allocations: 15.91 kB / 0.8326 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1785, allocations: 4.062 kB / 0.8326 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1786, allocations: 7.984 kB / 0.8326 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1787, allocations: 4 kB / 0.8326 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1787, allocations: 4 kB / 0.8326 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000133/0.1788, allocations: 159.3 kB / 0.8328 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1788, allocations: 3.938 kB / 0.8328 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003249/0.1791, allocations: 59.89 kB / 0.8328 GB, free: 7.562 MB / 0.5762 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.0001047/0.1793, allocations: 103.2 kB / 0.8329 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.1799, allocations: 443.3 kB / 0.8334 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1799, allocations: 0 / 0.8334 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.18, allocations: 71.89 kB / 0.8334 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1803, allocations: 37.17 kB / 0.8335 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1815, allocations: 0.6953 MB / 0.8341 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1818, allocations: 0.7397 MB / 0.8349 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.182, allocations: 36.61 kB / 0.8349 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.182, allocations: 15.44 kB / 0.8349 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.182, allocations: 0 / 0.8349 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.005847/0.1879, allocations: 2.543 MB / 0.8374 GB, free: 2.848 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7863982940034475] Failed to read output from testmodel.py, exit status != 0: 0.1952110230049584 0.20938994000000002 0.037867797 Calling exit ...