Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.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.WallThermal1DNodesFlexGeo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo") translateModel(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001127/0.001127, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 285.6 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.9717/0.9717, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003153/0.003153, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4315, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo): time 0.163/0.5946, allocations: 154.4 MB / 0.9178 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.6047, allocations: 6.664 MB / 0.9243 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.6059, allocations: 23.94 kB / 0.9244 GB, free: 2.168 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.001614/0.6076, allocations: 412.2 kB / 0.9248 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.6102, allocations: 0.9051 MB / 0.9256 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6125, allocations: 0.8594 MB / 0.9265 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.6157, allocations: 2.444 MB / 0.9289 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.6181, allocations: 1.805 MB / 0.9306 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.6197, allocations: 1.04 MB / 0.9316 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.6216, allocations: 1.133 MB / 0.9327 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006403/0.6223, allocations: 251.9 kB / 0.933 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.6241, allocations: 0.8118 MB / 0.9338 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005901/0.6247, allocations: 0.596 MB / 0.9344 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.6259, allocations: 1.101 MB / 0.9354 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.629, allocations: 3.29 MB / 0.9386 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.629, allocations: 0 / 0.9386 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.713e-06/0.629, allocations: 0 / 0.9386 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.629, allocations: 0 / 0.9386 GB, free: 3.449 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: 447 * Number of variables: 447 Notification: Performance of Generate backend data structure: time 0.004322/0.6334, allocations: 2.407 MB / 0.941 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6334, allocations: 12.03 kB / 0.941 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.6369, allocations: 0.6971 MB / 0.9417 GB, free: 268 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.6392, allocations: 1.219 MB / 0.9429 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6395, allocations: 305.5 kB / 0.9432 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/0.6398, allocations: 164 kB / 0.9433 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.6441, allocations: 2.386 MB / 0.9457 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.6441, allocations: 7.938 kB / 0.9457 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.6443, allocations: 67.98 kB / 0.9457 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.6445, allocations: 75.98 kB / 0.9458 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.6485, allocations: 2.155 MB / 0.9479 GB, free: 9.742 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.01203/0.6605, allocations: 8.612 MB / 0.9563 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3692/1.03, allocations: 2.522 MB / 0.9588 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.032, allocations: 0.9283 MB / 0.9597 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/1.034, allocations: 1.951 MB / 0.9616 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/1.036, allocations: 1.06 MB / 0.9626 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=114): time 3.807e-06/1.036, allocations: 1.375 kB / 0.9626 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=114): time 0.006909/1.043, allocations: 3.199 MB / 0.9658 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.043, allocations: 118.9 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.045, allocations: 1.209 MB / 0.967 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.045, allocations: 51.83 kB / 0.9671 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/1.045, allocations: 0.719 MB / 0.9678 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/1.046, allocations: 398.5 kB / 0.9682 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005401/1.046, allocations: 303.3 kB / 0.9685 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/1.046, allocations: 363.8 kB / 0.9688 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/1.048, allocations: 0.9821 MB / 0.9698 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/1.05, allocations: 1.196 MB / 0.9709 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204/4.254, allocations: 454 MB / 1.414 GB, free: 179.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/4.254, allocations: 4 kB / 1.414 GB, free: 179.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004419/4.258, allocations: 2.754 MB / 1.417 GB, free: 177.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/4.258, allocations: 107.4 kB / 1.417 GB, free: 177 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/4.258, allocations: 4 kB / 1.417 GB, free: 177 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/4.259, allocations: 173.8 kB / 1.417 GB, free: 176.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/4.261, allocations: 459.3 kB / 1.418 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/4.264, allocations: 6.09 MB / 1.424 GB, free: 169.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/4.266, allocations: 221 kB / 1.424 GB, free: 169.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/4.266, allocations: 111.9 kB / 1.424 GB, free: 169.6 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: 21 * 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.0008339/4.267, allocations: 0.5612 MB / 1.425 GB, free: 169.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/4.267, allocations: 134.2 kB / 1.425 GB, free: 169 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/4.272, allocations: 2.607 MB / 1.427 GB, free: 166.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/4.272, allocations: 3.984 kB / 1.427 GB, free: 166.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/4.272, allocations: 8 kB / 1.427 GB, free: 166.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/4.272, allocations: 470.8 kB / 1.428 GB, free: 165.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/4.272, allocations: 24 kB / 1.428 GB, free: 165.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/4.273, allocations: 89.95 kB / 1.428 GB, free: 165.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/4.274, allocations: 113.1 kB / 1.428 GB, free: 165.6 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004694/4.278, allocations: 2.462 MB / 1.43 GB, free: 163.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004861/4.283, allocations: 3.529 MB / 1.434 GB, free: 159.6 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001359/4.285, allocations: 0.9783 MB / 1.435 GB, free: 158.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008367/4.285, allocations: 0.8424 MB / 1.435 GB, free: 157.8 MB / 0.8419 GB Notification: Performance of Backend: time 6.82e-07/4.285, allocations: 4 kB / 1.435 GB, free: 157.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007523/4.293, allocations: 2.983 MB / 1.438 GB, free: 155 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003944/4.297, allocations: 3.677 MB / 1.442 GB, free: 151.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.03482/4.332, allocations: 31.7 MB / 1.473 GB, free: 119.8 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo.pipe 2>&1)