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.001408/0.001408, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.001597/0.001597, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 284.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3718, allocations: 86.97 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.MultiLayerHeatConduction1DNodes): time 0.002841/0.3746, allocations: 2.039 MB / 0.769 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3758, allocations: 0.8569 MB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.3759, allocations: 7.938 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3762, allocations: 55.69 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.3764, allocations: 115.3 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3767, allocations: 87.88 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3779, allocations: 1.332 MB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.3783, allocations: 430.7 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.3788, allocations: 0.5575 MB / 0.7724 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.3795, allocations: 0.5024 MB / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.3796, allocations: 88 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.3798, allocations: 92 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3801, allocations: 287.2 kB / 0.7733 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.3806, allocations: 474.2 kB / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3817, allocations: 1.44 MB / 0.7752 GB, free: 11.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3817, allocations: 4 kB / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3817, allocations: 0 / 0.7752 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.3817, allocations: 0 / 0.7752 GB, free: 11.43 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.002672/0.3844, allocations: 1.647 MB / 0.7768 GB, free: 9.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3845, allocations: 8.031 kB / 0.7768 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3846, allocations: 76 kB / 0.7768 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3857, allocations: 0.5938 MB / 0.7774 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3857, allocations: 37.38 kB / 0.7775 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3859, allocations: 68.27 kB / 0.7775 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3874, allocations: 1.098 MB / 0.7786 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3874, allocations: 0 / 0.7786 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.3875, allocations: 20 kB / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3875, allocations: 12 kB / 0.7786 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3887, allocations: 0.8741 MB / 0.7795 GB, free: 6.871 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.004526/0.3932, allocations: 3.841 MB / 0.7832 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.3975, allocations: 1.833 MB / 0.785 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.3983, allocations: 0.5276 MB / 0.7855 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.3983, allocations: 7.984 kB / 0.7855 GB, free: 256 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3983, allocations: 38.5 kB / 0.7856 GB, free: 208 kB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.825e-06/0.3984, allocations: 3.938 kB / 0.7856 GB, free: 204 kB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.00309/0.4015, allocations: 1.977 MB / 0.7875 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4015, allocations: 55.41 kB / 0.7876 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4026, allocations: 0.9018 MB / 0.7885 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.4027, allocations: 33.7 kB / 0.7885 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.403, allocations: 355.6 kB / 0.7888 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4032, allocations: 134.2 kB / 0.789 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.4035, allocations: 234.1 kB / 0.7892 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4037, allocations: 398.6 kB / 0.7896 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.405, allocations: 1.06 MB / 0.7906 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.4064, allocations: 1.286 MB / 0.7918 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009763/0.4162, allocations: 5.944 MB / 0.7977 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4162, allocations: 0 / 0.7977 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004047/0.4203, allocations: 3.118 MB / 0.8007 GB, free: 340 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.4205, allocations: 281.5 kB / 0.801 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4206, allocations: 8.625 kB / 0.801 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.421, allocations: 154.4 kB / 0.8011 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.4218, allocations: 231.7 kB / 0.8013 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.4253, allocations: 4.818 MB / 0.806 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.4263, allocations: 250.2 kB / 0.8063 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4264, allocations: 36 kB / 0.8063 GB, free: 10.12 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.0008364/0.4272, allocations: 0.637 MB / 0.8069 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4274, allocations: 59.19 kB / 0.807 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4277, allocations: 106.4 kB / 0.8071 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4277, allocations: 7.984 kB / 0.8071 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4277, allocations: 0 / 0.8071 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.4279, allocations: 140.2 kB / 0.8072 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.428, allocations: 43.95 kB / 0.8073 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4285, allocations: 71.86 kB / 0.8074 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4286, allocations: 23.97 kB / 0.8074 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004366/0.4329, allocations: 2.338 MB / 0.8097 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002376/0.4353, allocations: 2.213 MB / 0.8118 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007336/0.4361, allocations: 0.6711 MB / 0.8125 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007305/0.4368, allocations: 0.6121 MB / 0.8131 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of Backend: time 3.51e-07/0.4368, allocations: 0 / 0.8131 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003789/0.4406, allocations: 3.264 MB / 0.8163 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003761/0.4444, allocations: 3.229 MB / 0.8194 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.023/0.4674, allocations: 17.97 MB / 0.837 GB, free: 10.66 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)