Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.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.WallThermalTriangular1DNodesFlexGeo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo") translateModel(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 109.8 kB / 16.42 MB, free: 6.496 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.001963/0.001963, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 282.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9643/0.9643, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4922, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo): time 0.1551/0.6473, allocations: 154.4 MB / 0.9178 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009815/0.6572, allocations: 6.698 MB / 0.9243 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.6583, allocations: 23.88 kB / 0.9244 GB, free: 2.184 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.001527/0.6598, allocations: 405.2 kB / 0.9248 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.6621, allocations: 0.8271 MB / 0.9256 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.6644, allocations: 0.9554 MB / 0.9265 GB, free: 0 / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.6673, allocations: 2.463 MB / 0.9289 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.6695, allocations: 1.832 MB / 0.9307 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.671, allocations: 1.04 MB / 0.9317 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.6727, allocations: 1.199 MB / 0.9329 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.6733, allocations: 248 kB / 0.9331 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.6751, allocations: 0.8235 MB / 0.9339 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.6758, allocations: 0.6388 MB / 0.9345 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.677, allocations: 1.128 MB / 0.9356 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.6803, allocations: 3.368 MB / 0.9389 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6803, allocations: 0 / 0.9389 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6803, allocations: 0 / 0.9389 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.6804, allocations: 0 / 0.9389 GB, free: 3.188 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: 465 * Number of variables: 465 Notification: Performance of Generate backend data structure: time 0.004307/0.6847, allocations: 2.532 MB / 0.9414 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6847, allocations: 8.031 kB / 0.9414 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/0.6891, allocations: 1.071 MB / 0.9425 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.6914, allocations: 1.238 MB / 0.9437 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.6917, allocations: 301.7 kB / 0.944 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.6919, allocations: 172 kB / 0.9441 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.696, allocations: 2.475 MB / 0.9465 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.696, allocations: 3.938 kB / 0.9465 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.6962, allocations: 72 kB / 0.9466 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.6964, allocations: 119 kB / 0.9467 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.7004, allocations: 2.213 MB / 0.9489 GB, free: 8.766 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.338/1.039, allocations: 8.656 MB / 0.9573 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/1.043, allocations: 1.839 MB / 0.9591 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/1.045, allocations: 0.7583 MB / 0.9599 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.046, allocations: 1.945 MB / 0.9618 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.048, allocations: 0.8419 MB / 0.9626 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=93): time 3.186e-06/1.048, allocations: 2.844 kB / 0.9626 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93): time 0.005605/1.054, allocations: 2.695 MB / 0.9652 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.054, allocations: 114.2 kB / 0.9653 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/1.055, allocations: 1.426 MB / 0.9667 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/1.056, allocations: 42.86 kB / 0.9668 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/1.056, allocations: 0.8016 MB / 0.9676 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.056, allocations: 331.5 kB / 0.9679 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/1.057, allocations: 286.4 kB / 0.9681 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/1.057, allocations: 359 kB / 0.9685 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/1.058, allocations: 0.8679 MB / 0.9693 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.06, allocations: 1.118 MB / 0.9704 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336/4.395, allocations: 463.2 MB / 1.423 GB, free: 170.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/4.395, allocations: 0 / 1.423 GB, free: 170.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004181/4.4, allocations: 2.522 MB / 1.425 GB, free: 167.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/4.4, allocations: 111.5 kB / 1.425 GB, free: 167.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/4.4, allocations: 4 kB / 1.425 GB, free: 167.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/4.4, allocations: 171.3 kB / 1.426 GB, free: 167.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/4.402, allocations: 459.3 kB / 1.426 GB, free: 167.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/4.406, allocations: 6.09 MB / 1.432 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/4.408, allocations: 273.9 kB / 1.432 GB, free: 160.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/4.408, allocations: 75.95 kB / 1.432 GB, free: 160.4 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.weatherDataReader.weatherData.conTim.tNext,$PRE.ambience.weatherDataReader.weatherData.conTim.tNext,$whenCondition1,ambience.radiation[1].outsidePolarCircle,ambience.radiation[2].outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 128 * 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.000961/4.409, allocations: 0.5896 MB / 1.433 GB, free: 159.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/4.409, allocations: 137.8 kB / 1.433 GB, free: 159.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/4.413, allocations: 2.168 MB / 1.435 GB, free: 157.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/4.413, allocations: 3.984 kB / 1.435 GB, free: 157.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/4.413, allocations: 0 / 1.435 GB, free: 157.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/4.414, allocations: 426.8 kB / 1.435 GB, free: 157 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/4.414, allocations: 28 kB / 1.436 GB, free: 157 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/4.415, allocations: 111.8 kB / 1.436 GB, free: 156.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/4.415, allocations: 84.88 kB / 1.436 GB, free: 156.8 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004143/4.419, allocations: 2.091 MB / 1.438 GB, free: 154.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004066/4.423, allocations: 2.901 MB / 1.441 GB, free: 151.8 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/4.424, allocations: 0.8041 MB / 1.441 GB, free: 151 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001047/4.426, allocations: 0.9907 MB / 1.442 GB, free: 150 MB / 0.8419 GB Notification: Performance of Backend: time 1.152e-06/4.426, allocations: 0 / 1.442 GB, free: 150 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007387/4.433, allocations: 2.836 MB / 1.445 GB, free: 147.4 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004149/4.437, allocations: 3.806 MB / 1.449 GB, free: 143.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.03435/4.471, allocations: 28.53 MB / 1.477 GB, free: 115.2 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo.pipe 2>&1)