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.001727/0.001727, allocations: 110 kB / 18.93 MB, free: 2.945 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.001663/0.001663, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.434/1.434, allocations: 225.6 MB / 251 MB, free: 13.01 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.00263/0.00263, allocations: 278.5 kB / 306.5 MB, free: 8.309 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.253/1.253, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.002822/0.002822, allocations: 106.4 kB / 0.7308 GB, free: 39.1 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1763, allocations: 94.2 MB / 0.8228 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003298/0.1796, allocations: 1.869 MB / 0.8246 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1807, allocations: 0.6935 MB / 0.8253 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.1808, allocations: 4 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.181, allocations: 43.64 kB / 0.8254 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1812, allocations: 59.67 kB / 0.8254 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1815, allocations: 59.84 kB / 0.8255 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.1819, allocations: 271.2 kB / 0.8257 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.182, allocations: 41.19 kB / 0.8258 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1822, allocations: 111.7 kB / 0.8259 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1823, allocations: 107.6 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.1824, allocations: 20 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.1824, allocations: 20 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1825, allocations: 59.81 kB / 0.8261 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1827, allocations: 99.59 kB / 0.8262 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.183, allocations: 243.1 kB / 0.8264 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.183, allocations: 0 / 0.8264 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.183, allocations: 0 / 0.8264 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.183, allocations: 0 / 0.8264 GB, free: 14.09 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.0009405/0.1839, allocations: 487.1 kB / 0.8269 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.184, allocations: 8.031 kB / 0.8269 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.184, allocations: 28.73 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1843, allocations: 162.8 kB / 0.8271 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1843, allocations: 12.38 kB / 0.8271 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1844, allocations: 12.38 kB / 0.8271 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.1848, allocations: 208.8 kB / 0.8273 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1848, allocations: 3.938 kB / 0.8273 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1848, allocations: 4 kB / 0.8273 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1848, allocations: 4 kB / 0.8273 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.1851, allocations: 120.6 kB / 0.8274 GB, free: 12.98 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.001277/0.1863, allocations: 0.9704 MB / 0.8283 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.1871, allocations: 206.3 kB / 0.8285 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1873, allocations: 76.81 kB / 0.8286 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1873, allocations: 0 / 0.8286 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.1874, allocations: 38.5 kB / 0.8287 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1874, allocations: 0 / 0.8287 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.1879, allocations: 225.5 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.188, allocations: 51.41 kB / 0.8289 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1882, allocations: 228.1 kB / 0.8291 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1882, allocations: 29.69 kB / 0.8292 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1883, allocations: 144.4 kB / 0.8293 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1884, allocations: 35.67 kB / 0.8293 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.1885, allocations: 61.64 kB / 0.8294 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1886, allocations: 326.8 kB / 0.8297 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1889, allocations: 155.9 kB / 0.8299 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1892, allocations: 214.2 kB / 0.8301 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.1912, allocations: 0.8809 MB / 0.8309 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1912, allocations: 4 kB / 0.8309 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008028/0.192, allocations: 0.5029 MB / 0.8314 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.1921, allocations: 61.67 kB / 0.8315 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1921, allocations: 0 / 0.8315 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1921, allocations: 4 kB / 0.8315 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.1923, allocations: 47.91 kB / 0.8315 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1923, allocations: 8.25 kB / 0.8315 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1925, allocations: 39.72 kB / 0.8316 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.1925, allocations: 16.16 kB / 0.8316 GB, free: 8.426 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.0002473/0.1928, allocations: 183.4 kB / 0.8318 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1928, allocations: 15.91 kB / 0.8318 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.1929, allocations: 17.41 kB / 0.8318 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1929, allocations: 4 kB / 0.8318 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1929, allocations: 0 / 0.8318 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1929, allocations: 0 / 0.8318 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1931, allocations: 196.5 kB / 0.832 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1931, allocations: 3.938 kB / 0.832 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1934, allocations: 43.97 kB / 0.832 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1934, allocations: 0 / 0.832 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1934, allocations: 4 kB / 0.832 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1934, allocations: 0 / 0.832 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1934, allocations: 0 / 0.832 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.194, allocations: 352.7 kB / 0.8324 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.194, allocations: 11.91 kB / 0.8324 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.194, allocations: 16.05 kB / 0.8324 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1942, allocations: 4 kB / 0.8324 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1942, allocations: 3.984 kB / 0.8324 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1942, allocations: 4 kB / 0.8324 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001415/0.1943, allocations: 155.3 kB / 0.8326 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1943, allocations: 0 / 0.8326 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003219/0.1947, allocations: 63.89 kB / 0.8326 GB, free: 7.301 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.0001248/0.1948, allocations: 103.2 kB / 0.8327 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006716/0.1955, allocations: 446.5 kB / 0.8331 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1955, allocations: 0 / 0.8331 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1956, allocations: 67.95 kB / 0.8332 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1959, allocations: 37.77 kB / 0.8332 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1971, allocations: 0.6993 MB / 0.8339 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1975, allocations: 0.7358 MB / 0.8346 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.1976, allocations: 40.61 kB / 0.8347 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.1977, allocations: 19.42 kB / 0.8347 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1977, allocations: 0 / 0.8347 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of Templates: time 0.006259/0.204, allocations: 2.535 MB / 0.8372 GB, free: 2.586 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.022551032714546] Failed to read output from testmodel.py, exit status != 0: 0.21149885188788176 0.226033968 0.040083776 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f536c00d7b0>