Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.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.Buildings.Constructions.Examples.WallThermalTriangular1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes") translateModel(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001877/0.001877, allocations: 189.5 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.401/1.401, 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.002292/0.002292, allocations: 285 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003391/0.003391, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4825, allocations: 86.98 MB / 0.767 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes): time 0.1652/0.6477, allocations: 154.2 MB / 0.9176 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009721/0.6575, allocations: 6.648 MB / 0.9241 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.6586, allocations: 23.88 kB / 0.9241 GB, free: 2.609 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/TriangularConstructionGeneral.mo:4:3-19:56:writable] Warning: Connector toSurfacePort_1 is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/TriangularConstructionGeneral.mo:20:3-36:54:writable] Warning: Connector toSurfacePort_2 is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/Sources/RadiationFixed.mo:4:3-10:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/SurfaceGeneral.mo:4:3-6:117:writable] Warning: Connector toConstructionPort is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:5:3-7:118:writable] Warning: Connector toAirPort is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:8:3-12:115:writable] Warning: Connector toSurfacesPort is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/SurfaceGeneral.mo:4:3-6:117:writable] Warning: Connector toConstructionPort is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:5:3-7:118:writable] Warning: Connector toAirPort is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Surfaces/SurfaceToAir.mo:8:3-12:115:writable] Warning: Connector toSurfacesPort is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Ambience.mo:52:3-55:54:writable] Warning: Connector toAirPorts is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Ambience.mo:56:3-59:53:writable] Warning: Connector toSurfacePorts is not balanced: The number of potential variables (6) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001358/0.66, allocations: 401.2 kB / 0.9245 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.6618, allocations: 0.7961 MB / 0.9253 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.6638, allocations: 0.9425 MB / 0.9262 GB, free: 484 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.6662, allocations: 2.374 MB / 0.9285 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.6681, allocations: 1.698 MB / 0.9302 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.6694, allocations: 1.017 MB / 0.9312 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.6709, allocations: 1.137 MB / 0.9323 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003509/0.6712, allocations: 244 kB / 0.9325 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6729, allocations: 0.8079 MB / 0.9333 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.6734, allocations: 0.6233 MB / 0.9339 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.6745, allocations: 1.085 MB / 0.935 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.678, allocations: 3.267 MB / 0.9382 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.678, allocations: 8 kB / 0.9382 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.763e-06/0.678, allocations: 0 / 0.9382 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.076e-05/0.678, allocations: 0 / 0.9382 GB, free: 4.137 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 443 * Number of variables: 443 Notification: Performance of Generate backend data structure: time 0.004702/0.6828, allocations: 2.441 MB / 0.9406 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6828, allocations: 8.031 kB / 0.9406 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.6872, allocations: 1.056 MB / 0.9416 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/0.6897, allocations: 1.219 MB / 0.9428 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.69, allocations: 301.5 kB / 0.9431 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.6902, allocations: 163.9 kB / 0.9432 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.6944, allocations: 2.386 MB / 0.9456 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.6945, allocations: 7.938 kB / 0.9456 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.6947, allocations: 64 kB / 0.9456 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.6948, allocations: 110.9 kB / 0.9457 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.6988, allocations: 2.162 MB / 0.9478 GB, free: 9.996 MB / 0.7169 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.01254/0.7114, allocations: 8.488 MB / 0.9561 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3439/1.055, allocations: 1.752 MB / 0.9578 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/1.057, allocations: 0.6872 MB / 0.9585 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/1.059, allocations: 1.94 MB / 0.9604 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/1.06, allocations: 0.8103 MB / 0.9612 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/1.06, allocations: 1.688 kB / 0.9612 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88): time 0.005515/1.066, allocations: 2.474 MB / 0.9636 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/1.066, allocations: 142.9 kB / 0.9638 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.068, allocations: 1.427 MB / 0.9651 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.068, allocations: 43.77 kB / 0.9652 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/1.069, allocations: 0.7795 MB / 0.9659 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.069, allocations: 310 kB / 0.9662 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/1.069, allocations: 296 kB / 0.9665 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/1.069, allocations: 360.8 kB / 0.9669 GB, free: 182 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/1.071, allocations: 0.8802 MB / 0.9677 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/1.073, allocations: 1.122 MB / 0.9688 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362/4.435, allocations: 463.2 MB / 1.421 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/4.435, allocations: 4 kB / 1.421 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004113/4.439, allocations: 2.525 MB / 1.424 GB, free: 171.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/4.439, allocations: 111.4 kB / 1.424 GB, free: 171.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/4.439, allocations: 8.359 kB / 1.424 GB, free: 171.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/4.44, allocations: 338.2 kB / 1.424 GB, free: 171.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/4.442, allocations: 463.3 kB / 1.425 GB, free: 170.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/4.446, allocations: 6.126 MB / 1.43 GB, free: 164.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/4.447, allocations: 342 kB / 1.431 GB, free: 163.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/4.448, allocations: 71.95 kB / 1.431 GB, free: 163.8 MB / 0.8419 GB Warning: Assuming fixed start value for the following 4 variables: wall.construction.layer[1].T[1]:VARIABLE(min = 0.0 start = wall.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2] wall.construction.layer[1].T[2]:VARIABLE(min = 0.0 start = wall.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2] wall.construction.layer[2].T[1]:VARIABLE(min = 0.0 start = wall.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2] wall.construction.layer[2].T[2]:VARIABLE(min = 0.0 start = wall.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 (ambience.radiation[1].outsidePolarCircle,ambience.radiation[2].outsidePolarCircle,ambience.weatherDataReader.weatherData.conTim.tNext,$PRE.ambience.weatherDataReader.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008157/4.448, allocations: 0.5735 MB / 1.431 GB, free: 163.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/4.449, allocations: 131.3 kB / 1.432 GB, free: 163.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/4.452, allocations: 1.969 MB / 1.434 GB, free: 161.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/4.452, allocations: 3.984 kB / 1.434 GB, free: 161.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/4.452, allocations: 0 / 1.434 GB, free: 161.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/4.453, allocations: 415 kB / 1.434 GB, free: 160.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/4.453, allocations: 24 kB / 1.434 GB, free: 160.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009583/4.454, allocations: 113.7 kB / 1.434 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/4.454, allocations: 88.81 kB / 1.434 GB, free: 160.5 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003821/4.458, allocations: 1.978 MB / 1.436 GB, free: 158.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003755/4.462, allocations: 2.707 MB / 1.439 GB, free: 155.8 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001084/4.463, allocations: 0.7377 MB / 1.439 GB, free: 155.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001085/4.464, allocations: 0.9997 MB / 1.44 GB, free: 154.1 MB / 0.8419 GB Notification: Performance of Backend: time 4.61e-07/4.464, allocations: 0 / 1.44 GB, free: 154.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007744/4.472, allocations: 2.842 MB / 1.443 GB, free: 151.5 MB / 0.8419 GB Notification: Performance of SimCode: time 0.00435/4.476, allocations: 3.649 MB / 1.447 GB, free: 147.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.03411/4.51, allocations: 28.23 MB / 1.474 GB, free: 119.8 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes.pipe 2>&1)