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.001021/0.001021, allocations: 111.1 kB / 16.41 MB, free: 6.441 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.001003/0.001003, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 288.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9515/0.9515, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3967, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo): time 0.1574/0.5541, allocations: 154.4 MB / 0.9178 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009858/0.564, allocations: 6.694 MB / 0.9243 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5651, allocations: 27.81 kB / 0.9244 GB, free: 2.191 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.001638/0.5667, allocations: 408.2 kB / 0.9248 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.5691, allocations: 0.8389 MB / 0.9256 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.5715, allocations: 0.9672 MB / 0.9265 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.5744, allocations: 2.467 MB / 0.9289 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.5766, allocations: 1.824 MB / 0.9307 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.5782, allocations: 1.044 MB / 0.9317 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.58, allocations: 1.199 MB / 0.9329 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000544/0.5805, allocations: 252 kB / 0.9331 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.5823, allocations: 0.8157 MB / 0.9339 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.583, allocations: 0.6349 MB / 0.9346 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.5845, allocations: 1.139 MB / 0.9357 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.5883, allocations: 3.364 MB / 0.939 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5884, allocations: 0 / 0.939 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5884, allocations: 0 / 0.939 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.833e-05/0.5884, allocations: 0 / 0.939 GB, free: 3.168 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.004667/0.5931, allocations: 2.528 MB / 0.9414 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5931, allocations: 8.031 kB / 0.9414 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.5975, allocations: 1.071 MB / 0.9425 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.6001, allocations: 1.246 MB / 0.9437 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.6003, allocations: 301.7 kB / 0.944 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.6006, allocations: 172 kB / 0.9442 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.6048, allocations: 2.475 MB / 0.9466 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.6049, allocations: 3.938 kB / 0.9466 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.6051, allocations: 72 kB / 0.9466 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.6052, allocations: 115 kB / 0.9467 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00416/0.6094, allocations: 2.206 MB / 0.9489 GB, free: 8.754 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.3548/0.9642, allocations: 8.656 MB / 0.9574 GB, free: 186 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.9694, allocations: 1.843 MB / 0.9592 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.971, allocations: 0.7583 MB / 0.9599 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.9725, allocations: 1.943 MB / 0.9618 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.9741, allocations: 0.8433 MB / 0.9626 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=93): time 3.517e-06/0.9742, allocations: 4.625 kB / 0.9626 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=93): time 0.005756/0.9799, allocations: 2.689 MB / 0.9652 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.98, allocations: 114.3 kB / 0.9654 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.9818, allocations: 1.426 MB / 0.9668 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.9819, allocations: 47.73 kB / 0.9668 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.9825, allocations: 0.803 MB / 0.9676 GB, free: 181 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.9827, allocations: 330.1 kB / 0.9679 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.9832, allocations: 285.9 kB / 0.9682 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.9833, allocations: 359.6 kB / 0.9685 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.9848, allocations: 0.8714 MB / 0.9694 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.9863, allocations: 1.112 MB / 0.9704 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325/4.311, allocations: 463.2 MB / 1.423 GB, free: 171.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/4.311, allocations: 0 / 1.423 GB, free: 171.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005142/4.317, allocations: 2.521 MB / 1.425 GB, free: 168.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/4.317, allocations: 107.4 kB / 1.425 GB, free: 168.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/4.317, allocations: 4 kB / 1.425 GB, free: 168.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/4.317, allocations: 178.6 kB / 1.426 GB, free: 168.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/4.319, allocations: 451.3 kB / 1.426 GB, free: 168.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/4.323, allocations: 6.091 MB / 1.432 GB, free: 161.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/4.325, allocations: 271.3 kB / 1.432 GB, free: 161.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/4.325, allocations: 77.59 kB / 1.432 GB, free: 161.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.001139/4.327, allocations: 0.5888 MB / 1.433 GB, free: 160.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/4.327, allocations: 137.4 kB / 1.433 GB, free: 160.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/4.331, allocations: 2.167 MB / 1.435 GB, free: 158.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/4.331, allocations: 3.984 kB / 1.435 GB, free: 158.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/4.331, allocations: 0 / 1.435 GB, free: 158.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/4.332, allocations: 430.7 kB / 1.436 GB, free: 158.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/4.333, allocations: 24 kB / 1.436 GB, free: 158.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/4.334, allocations: 122.1 kB / 1.436 GB, free: 157.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/4.334, allocations: 84.81 kB / 1.436 GB, free: 157.9 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004181/4.338, allocations: 2.096 MB / 1.438 GB, free: 155.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004167/4.342, allocations: 2.897 MB / 1.441 GB, free: 152.9 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001171/4.343, allocations: 0.808 MB / 1.441 GB, free: 152.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001101/4.344, allocations: 0.9829 MB / 1.442 GB, free: 151.1 MB / 0.8419 GB Notification: Performance of Backend: time 4.3e-07/4.344, allocations: 4.656 kB / 1.442 GB, free: 151.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00771/4.352, allocations: 2.829 MB / 1.445 GB, free: 148.4 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004446/4.357, allocations: 3.804 MB / 1.449 GB, free: 144.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.03789/4.395, allocations: 28.52 MB / 1.477 GB, free: 116.3 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)