Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002413/0.002413, allocations: 291.4 kB / 313.5 MB, free: 2.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.152/1.152, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 97.75 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.163, allocations: 95.38 MB / 0.8339 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004193/0.1672, allocations: 2.967 MB / 0.8368 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1684, allocations: 0.7711 MB / 0.8376 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1685, allocations: 19.88 kB / 0.8376 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1687, allocations: 75.41 kB / 0.8377 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1689, allocations: 119 kB / 0.8378 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1691, allocations: 71.83 kB / 0.8379 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1695, allocations: 370.1 kB / 0.8382 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1697, allocations: 72.25 kB / 0.8383 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.1699, allocations: 147.4 kB / 0.8384 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1702, allocations: 147.3 kB / 0.8386 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.1702, allocations: 24 kB / 0.8386 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.1703, allocations: 36 kB / 0.8386 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1703, allocations: 59.7 kB / 0.8387 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1705, allocations: 155.2 kB / 0.8388 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1708, allocations: 330.5 kB / 0.8391 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1708, allocations: 0 / 0.8391 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1708, allocations: 0 / 0.8391 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1708, allocations: 0 / 0.8391 GB, free: 2.973 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007711/0.1716, allocations: 0.513 MB / 0.8396 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1716, allocations: 13.34 kB / 0.8396 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1718, allocations: 40.73 kB / 0.8397 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1721, allocations: 233.7 kB / 0.8399 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1722, allocations: 25.02 kB / 0.8399 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.1722, allocations: 24.38 kB / 0.84 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1726, allocations: 242.4 kB / 0.8402 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1726, allocations: 0 / 0.8402 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1726, allocations: 15.94 kB / 0.8402 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1727, allocations: 11.94 kB / 0.8402 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.173, allocations: 194.5 kB / 0.8404 GB, free: 1.613 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.001535/0.1745, allocations: 1.255 MB / 0.8416 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.1753, allocations: 254.4 kB / 0.8419 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1754, allocations: 60.84 kB / 0.8419 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1755, allocations: 4 kB / 0.8419 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1755, allocations: 34.56 kB / 0.842 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1755, allocations: 0 / 0.842 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001001/0.1765, allocations: 348 kB / 0.8423 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1765, allocations: 51.41 kB / 0.8423 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1768, allocations: 292.5 kB / 0.8426 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1768, allocations: 29.7 kB / 0.8426 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.177, allocations: 227.8 kB / 0.8429 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.177, allocations: 67.47 kB / 0.8429 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.1771, allocations: 69.64 kB / 0.843 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1773, allocations: 342.8 kB / 0.8433 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1774, allocations: 72.34 kB / 0.8434 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.1777, allocations: 190.4 kB / 0.8436 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.1787, allocations: 494.7 kB / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1787, allocations: 3.938 kB / 0.8441 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006943/0.1794, allocations: 420.9 kB / 0.8445 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1795, allocations: 11.94 kB / 0.8445 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1795, allocations: 11.97 kB / 0.8445 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.1797, allocations: 83.39 kB / 0.8446 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.18, allocations: 79.84 kB / 0.8446 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.1839, allocations: 5.114 MB / 0.8496 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1841, allocations: 43.67 kB / 0.8497 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1841, allocations: 16 kB / 0.8497 GB, free: 7.262 MB / 0.5919 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the thermal node\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.1844, allocations: 166.3 kB / 0.8498 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.1844, allocations: 31.75 kB / 0.8499 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.1845, allocations: 34.25 kB / 0.8499 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1845, allocations: 7.938 kB / 0.8499 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.1845, allocations: 0 / 0.8499 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.1845, allocations: 3.984 kB / 0.8499 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.1848, allocations: 288.4 kB / 0.8502 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1848, allocations: 7.922 kB / 0.8502 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.185, allocations: 31.98 kB / 0.8502 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.1852, allocations: 79.39 kB / 0.8503 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1853, allocations: 8 kB / 0.8503 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.1889, allocations: 5.09 MB / 0.8553 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1889, allocations: 4.031 kB / 0.8553 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.1896, allocations: 413.2 kB / 0.8557 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1896, allocations: 35.78 kB / 0.8557 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1896, allocations: 0 / 0.8557 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1898, allocations: 8 kB / 0.8557 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1898, allocations: 19.97 kB / 0.8557 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1898, allocations: 4 kB / 0.8557 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001846/0.19, allocations: 195.1 kB / 0.8559 GB, free: 328 kB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 0 / 0.8559 GB, free: 328 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004255/0.1904, allocations: 91.89 kB / 0.856 GB, free: 236 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * 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 (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1906, allocations: 111.2 kB / 0.8561 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008282/0.1914, allocations: 0.6398 MB / 0.8567 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1914, allocations: 4.188 kB / 0.8568 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.192, allocations: 0.526 MB / 0.8573 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1923, allocations: 53.45 kB / 0.8573 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1936, allocations: 0.7974 MB / 0.8581 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1939, allocations: 0.7606 MB / 0.8588 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.194, allocations: 31.38 kB / 0.8589 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.194, allocations: 0 / 0.8589 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.01027/0.2043, allocations: 8.233 MB / 0.8669 GB, free: 4.91 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.129158969037235] Failed to read output from testmodel.py, exit status != 0: 0.21159061510115862 0.225472786 0.051866463 Calling exit ...