Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.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.MultiLayerHeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.0009761/0.0009761, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 294.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 95.84 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3643, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes): time 0.002872/0.3672, allocations: 2.039 MB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3684, allocations: 0.8608 MB / 0.7699 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.3685, allocations: 3.938 kB / 0.7699 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3688, allocations: 55.62 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.369, allocations: 107.4 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3692, allocations: 91.81 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3704, allocations: 1.332 MB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.3709, allocations: 426.6 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.3714, allocations: 0.5614 MB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.3721, allocations: 0.5025 MB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3723, allocations: 95.94 kB / 0.7729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.3725, allocations: 96 kB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.3727, allocations: 271.4 kB / 0.7733 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.3732, allocations: 478.1 kB / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3743, allocations: 1.448 MB / 0.7752 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3743, allocations: 0 / 0.7752 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3743, allocations: 0 / 0.7752 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3743, allocations: 0 / 0.7752 GB, free: 11.58 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002616/0.3769, allocations: 1.647 MB / 0.7768 GB, free: 9.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.377, allocations: 8.031 kB / 0.7768 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3771, allocations: 84 kB / 0.7769 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.3779, allocations: 0.5861 MB / 0.7774 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.3779, allocations: 37.38 kB / 0.7775 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.3781, allocations: 64.27 kB / 0.7775 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3796, allocations: 1.102 MB / 0.7786 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3796, allocations: 0 / 0.7786 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.3797, allocations: 20 kB / 0.7786 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3797, allocations: 8 kB / 0.7786 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3808, allocations: 0.8741 MB / 0.7795 GB, free: 7.02 MB / 0.545 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.004232/0.3851, allocations: 3.848 MB / 0.7832 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/0.3894, allocations: 1.827 MB / 0.785 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.39, allocations: 0.5315 MB / 0.7855 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3901, allocations: 0 / 0.7855 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3901, allocations: 42.48 kB / 0.7856 GB, free: 356 kB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.3901, allocations: 4 kB / 0.7856 GB, free: 352 kB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.002806/0.3929, allocations: 1.973 MB / 0.7875 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3929, allocations: 51.41 kB / 0.7876 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.394, allocations: 0.8979 MB / 0.7884 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/0.394, allocations: 33.7 kB / 0.7885 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3943, allocations: 359.5 kB / 0.7888 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3944, allocations: 130.2 kB / 0.7889 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.3948, allocations: 234 kB / 0.7892 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.395, allocations: 394.7 kB / 0.7895 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3963, allocations: 1.075 MB / 0.7906 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3977, allocations: 1.272 MB / 0.7918 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009431/0.4072, allocations: 5.948 MB / 0.7976 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4072, allocations: 0 / 0.7976 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003946/0.4112, allocations: 3.126 MB / 0.8007 GB, free: 488 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.4114, allocations: 278.7 kB / 0.801 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4114, allocations: 8 kB / 0.801 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.4118, allocations: 150.4 kB / 0.8011 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.4126, allocations: 231.6 kB / 0.8013 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.416, allocations: 4.814 MB / 0.806 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.4169, allocations: 258.4 kB / 0.8063 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/0.417, allocations: 40 kB / 0.8063 GB, free: 10.26 MB / 0.5762 GB Warning: Assuming fixed start value for the following 20 variables: body[1].layer[1].T[1]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[1].T[2]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[1].T[3]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[1].T[4]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[1].T[5]:VARIABLE(min = 0.0 start = body[1].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[2].T[1]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[2].T[2]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[2].T[3]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[2].T[4]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[1].layer[2].T[5]:VARIABLE(min = 0.0 start = body[1].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[1].T[1]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[1].T[2]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[1].T[3]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[1].T[4]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[1].T[5]:VARIABLE(min = 0.0 start = body[2].layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[2].T[1]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[2].T[2]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[2].T[3]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[2].T[4]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] body[2].layer[2].T[5]:VARIABLE(min = 0.0 start = body[2].layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2,5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (82): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0008123/0.4179, allocations: 0.631 MB / 0.8069 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.418, allocations: 59.25 kB / 0.807 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.4183, allocations: 106.4 kB / 0.8071 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4183, allocations: 4 kB / 0.8071 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4183, allocations: 0 / 0.8071 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4184, allocations: 148.2 kB / 0.8072 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4186, allocations: 31.97 kB / 0.8073 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.419, allocations: 75.86 kB / 0.8073 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4191, allocations: 23.97 kB / 0.8074 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004318/0.4234, allocations: 2.338 MB / 0.8096 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002386/0.4258, allocations: 2.217 MB / 0.8118 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007613/0.4266, allocations: 0.671 MB / 0.8125 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000698/0.4273, allocations: 0.6081 MB / 0.8131 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of Backend: time 2.31e-07/0.4273, allocations: 0 / 0.8131 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00381/0.4311, allocations: 3.265 MB / 0.8163 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003567/0.4347, allocations: 3.226 MB / 0.8194 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.02228/0.457, allocations: 17.97 MB / 0.837 GB, free: 10.8 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes.pipe 2>&1)