Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.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.WallThermal1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes") translateModel(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108.6 kB / 16.41 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.001233/0.001233, allocations: 192.3 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 282.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 99.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4586, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes): time 0.1647/0.6234, allocations: 154.2 MB / 0.9177 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.634, allocations: 6.625 MB / 0.9241 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.6354, allocations: 19.94 kB / 0.9241 GB, free: 2.41 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ConstructionGeneral.mo:4:3-26:121: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/ConstructionGeneral.mo:27:3-50:117: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.001745/0.6372, allocations: 392.4 kB / 0.9245 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.6401, allocations: 0.9091 MB / 0.9254 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.6424, allocations: 0.8367 MB / 0.9262 GB, free: 284 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.6455, allocations: 2.378 MB / 0.9285 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.6478, allocations: 1.714 MB / 0.9302 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.6495, allocations: 1.005 MB / 0.9312 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.6514, allocations: 1.094 MB / 0.9323 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006175/0.6521, allocations: 244 kB / 0.9325 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.654, allocations: 0.8078 MB / 0.9333 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007745/0.6548, allocations: 0.5804 MB / 0.9339 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.6566, allocations: 1.066 MB / 0.9349 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.6601, allocations: 3.201 MB / 0.938 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6602, allocations: 0 / 0.938 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6602, allocations: 3.984 kB / 0.938 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.6602, allocations: 0 / 0.938 GB, free: 4.109 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004311/0.6645, allocations: 2.325 MB / 0.9403 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.6646, allocations: 12.03 kB / 0.9403 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.668, allocations: 0.6855 MB / 0.941 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.6704, allocations: 1.199 MB / 0.9421 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.6706, allocations: 293.5 kB / 0.9424 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.6709, allocations: 164 kB / 0.9426 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.6747, allocations: 2.321 MB / 0.9448 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6748, allocations: 4 kB / 0.9449 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.6749, allocations: 64 kB / 0.9449 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.6751, allocations: 71.98 kB / 0.945 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.6789, allocations: 2.107 MB / 0.947 GB, free: 10.65 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.01266/0.6916, allocations: 8.267 MB / 0.9551 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.6957, allocations: 1.738 MB / 0.9568 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3586/1.054, allocations: 0.6774 MB / 0.9575 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/1.056, allocations: 1.941 MB / 0.9594 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.058, allocations: 0.8234 MB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=88): time 3.536e-06/1.058, allocations: 0 / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88): time 0.005975/1.064, allocations: 2.481 MB / 0.9626 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.064, allocations: 227.5 kB / 0.9628 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.066, allocations: 1.457 MB / 0.9642 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.066, allocations: 43.61 kB / 0.9643 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/1.067, allocations: 0.7552 MB / 0.965 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.067, allocations: 317.2 kB / 0.9653 GB, free: 183 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005688/1.068, allocations: 352.6 kB / 0.9657 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/1.068, allocations: 369.1 kB / 0.966 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/1.069, allocations: 0.8877 MB / 0.9669 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.071, allocations: 1.242 MB / 0.9681 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311/4.382, allocations: 453.5 MB / 1.411 GB, free: 183.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/4.382, allocations: 4 kB / 1.411 GB, free: 183.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005901/4.388, allocations: 2.651 MB / 1.414 GB, free: 181.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/4.388, allocations: 107.4 kB / 1.414 GB, free: 181.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/4.388, allocations: 12 kB / 1.414 GB, free: 181.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/4.389, allocations: 166.5 kB / 1.414 GB, free: 181 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/4.391, allocations: 479.2 kB / 1.414 GB, free: 180.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/4.394, allocations: 6.092 MB / 1.42 GB, free: 174 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/4.396, allocations: 244.1 kB / 1.42 GB, free: 173.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/4.396, allocations: 115.9 kB / 1.421 GB, free: 173.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: 45 * 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 (144): * Single equations (assignments): 137 * 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.0008613/4.397, allocations: 0.5676 MB / 1.421 GB, free: 173.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/4.397, allocations: 127.2 kB / 1.421 GB, free: 173.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/4.401, allocations: 1.962 MB / 1.423 GB, free: 171.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/4.401, allocations: 5.078 kB / 1.423 GB, free: 171.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/4.401, allocations: 8 kB / 1.423 GB, free: 171.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/4.402, allocations: 434.9 kB / 1.424 GB, free: 170.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/4.402, allocations: 27.98 kB / 1.424 GB, free: 170.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/4.403, allocations: 75.91 kB / 1.424 GB, free: 170.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/4.403, allocations: 80.83 kB / 1.424 GB, free: 170.5 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003859/4.407, allocations: 2.206 MB / 1.426 GB, free: 168.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003854/4.411, allocations: 2.931 MB / 1.429 GB, free: 165.3 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/4.412, allocations: 0.7494 MB / 1.429 GB, free: 164.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001119/4.413, allocations: 1.034 MB / 1.43 GB, free: 163.5 MB / 0.8419 GB Notification: Performance of Backend: time 3.11e-07/4.413, allocations: 0 / 1.43 GB, free: 163.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007787/4.421, allocations: 2.885 MB / 1.433 GB, free: 160.8 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004967/4.426, allocations: 3.599 MB / 1.437 GB, free: 157.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.03653/4.463, allocations: 31.07 MB / 1.467 GB, free: 126.3 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes.pipe 2>&1)