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.001656/0.001656, allocations: 114.8 kB / 16.42 MB, free: 6.465 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.002005/0.002005, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 293 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.9592/0.9592, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4332, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes): time 0.1519/0.5851, allocations: 154.2 MB / 0.9176 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009776/0.5949, allocations: 6.648 MB / 0.9241 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.596, allocations: 19.94 kB / 0.9241 GB, free: 2.434 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.001531/0.5975, allocations: 396.2 kB / 0.9245 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.5998, allocations: 0.8273 MB / 0.9253 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.6019, allocations: 0.9489 MB / 0.9262 GB, free: 276 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002599/0.6046, allocations: 2.374 MB / 0.9285 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.6065, allocations: 1.694 MB / 0.9302 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6078, allocations: 1.017 MB / 0.9312 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.6094, allocations: 1.137 MB / 0.9323 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.6099, allocations: 244 kB / 0.9325 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.6115, allocations: 0.8118 MB / 0.9333 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.6121, allocations: 0.6155 MB / 0.9339 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.6134, allocations: 1.093 MB / 0.935 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.6168, allocations: 3.271 MB / 0.9382 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6168, allocations: 3.984 kB / 0.9382 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6168, allocations: 0 / 0.9382 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.6169, allocations: 0 / 0.9382 GB, free: 3.934 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.004821/0.6217, allocations: 2.434 MB / 0.9406 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6218, allocations: 8.031 kB / 0.9406 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/0.6261, allocations: 1.064 MB / 0.9416 GB, free: 364 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.6286, allocations: 1.219 MB / 0.9428 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.6289, allocations: 297.5 kB / 0.9431 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.6291, allocations: 160 kB / 0.9432 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/0.6332, allocations: 2.394 MB / 0.9456 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.6332, allocations: 0 / 0.9456 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.6334, allocations: 71.98 kB / 0.9457 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.6335, allocations: 110.8 kB / 0.9458 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.6376, allocations: 2.158 MB / 0.9479 GB, free: 9.797 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.01165/0.6492, allocations: 8.488 MB / 0.9562 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3289/0.9781, allocations: 1.758 MB / 0.9579 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.9798, allocations: 0.681 MB / 0.9585 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.9815, allocations: 1.945 MB / 0.9604 GB, free: 185 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.9836, allocations: 0.8075 MB / 0.9612 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=88): time 4.568e-06/0.9836, allocations: 0.6875 kB / 0.9612 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88): time 0.005683/0.9893, allocations: 2.473 MB / 0.9636 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.9893, allocations: 140.2 kB / 0.9638 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.9915, allocations: 1.431 MB / 0.9652 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.9917, allocations: 41.64 kB / 0.9652 GB, free: 183 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/0.9923, allocations: 0.7769 MB / 0.966 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.9925, allocations: 311.5 kB / 0.9663 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/0.9931, allocations: 293.5 kB / 0.9665 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.9933, allocations: 361 kB / 0.9669 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.9949, allocations: 0.8764 MB / 0.9677 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.9967, allocations: 1.123 MB / 0.9688 GB, free: 181 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267/4.264, allocations: 463.2 MB / 1.421 GB, free: 173.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/4.264, allocations: 4 kB / 1.421 GB, free: 173.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004904/4.269, allocations: 2.524 MB / 1.424 GB, free: 171.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/4.269, allocations: 103.4 kB / 1.424 GB, free: 171 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/4.269, allocations: 8 kB / 1.424 GB, free: 170.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/4.271, allocations: 346.5 kB / 1.424 GB, free: 170.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/4.273, allocations: 455.3 kB / 1.425 GB, free: 170.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/4.276, allocations: 6.133 MB / 1.431 GB, free: 163.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/4.278, allocations: 342.8 kB / 1.431 GB, free: 163.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/4.279, allocations: 75.95 kB / 1.431 GB, free: 163.3 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.001057/4.28, allocations: 0.5713 MB / 1.431 GB, free: 162.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/4.28, allocations: 131.7 kB / 1.432 GB, free: 162.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/4.284, allocations: 1.966 MB / 1.434 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/4.284, allocations: 3.984 kB / 1.434 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.284, allocations: 0 / 1.434 GB, free: 160.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/4.285, allocations: 415 kB / 1.434 GB, free: 160.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/4.286, allocations: 24 kB / 1.434 GB, free: 160.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/4.287, allocations: 119.5 kB / 1.434 GB, free: 160.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/4.287, allocations: 84.81 kB / 1.434 GB, free: 160 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004324/4.291, allocations: 1.978 MB / 1.436 GB, free: 158 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003997/4.295, allocations: 2.714 MB / 1.439 GB, free: 155.3 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/4.296, allocations: 0.7338 MB / 1.439 GB, free: 154.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001186/4.298, allocations: 0.9958 MB / 1.44 GB, free: 153.5 MB / 0.8419 GB Notification: Performance of Backend: time 4.31e-07/4.298, allocations: 0 / 1.44 GB, free: 153.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007659/4.305, allocations: 2.837 MB / 1.443 GB, free: 150.9 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004708/4.31, allocations: 3.647 MB / 1.447 GB, free: 147.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.03586/4.346, allocations: 28.23 MB / 1.474 GB, free: 119.2 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)