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.001105/0.001105, allocations: 118 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.00111/0.00111, allocations: 183.9 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 293.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.9445/0.9445, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003533/0.003533, allocations: 91.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4584, allocations: 87 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodesFlexGeo): time 0.1692/0.6276, allocations: 154.4 MB / 0.9178 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.6388, allocations: 6.66 MB / 0.9243 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.6403, allocations: 19.94 kB / 0.9243 GB, free: 2.199 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.001919/0.6422, allocations: 412.5 kB / 0.9247 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.6455, allocations: 0.9284 MB / 0.9256 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.6479, allocations: 0.871 MB / 0.9265 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003267/0.6512, allocations: 2.448 MB / 0.9289 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.6535, allocations: 1.789 MB / 0.9306 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.6552, allocations: 1.052 MB / 0.9317 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.6571, allocations: 1.129 MB / 0.9328 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006076/0.6577, allocations: 255.9 kB / 0.933 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6595, allocations: 0.8078 MB / 0.9338 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007148/0.6603, allocations: 0.5999 MB / 0.9344 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.6619, allocations: 1.105 MB / 0.9355 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.6662, allocations: 3.286 MB / 0.9387 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6662, allocations: 0 / 0.9387 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6662, allocations: 0 / 0.9387 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001064/0.6663, allocations: 4 kB / 0.9387 GB, free: 3.441 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.005935/0.6723, allocations: 2.403 MB / 0.941 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6723, allocations: 8.031 kB / 0.941 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.6759, allocations: 0.6932 MB / 0.9417 GB, free: 272 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.6785, allocations: 1.23 MB / 0.9429 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.6788, allocations: 305.5 kB / 0.9432 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.6791, allocations: 172 kB / 0.9434 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.6833, allocations: 2.382 MB / 0.9457 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.6833, allocations: 3.938 kB / 0.9457 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.6835, allocations: 68 kB / 0.9458 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.6837, allocations: 75.97 kB / 0.9458 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/0.6878, allocations: 2.155 MB / 0.9479 GB, free: 9.734 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.01318/0.701, allocations: 8.619 MB / 0.9564 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.328/1.029, allocations: 2.518 MB / 0.9588 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/1.031, allocations: 0.9285 MB / 0.9597 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.033, allocations: 1.95 MB / 0.9616 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/1.035, allocations: 1.06 MB / 0.9627 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=114): time 5.019e-06/1.035, allocations: 1.406 kB / 0.9627 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=114): time 0.007299/1.043, allocations: 3.2 MB / 0.9658 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.043, allocations: 119.2 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.045, allocations: 1.211 MB / 0.9671 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.045, allocations: 47.73 kB / 0.9671 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/1.045, allocations: 0.7152 MB / 0.9678 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/1.046, allocations: 399 kB / 0.9682 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007266/1.047, allocations: 306.4 kB / 0.9685 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/1.047, allocations: 365.6 kB / 0.9688 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/1.048, allocations: 0.9826 MB / 0.9698 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/1.05, allocations: 1.195 MB / 0.971 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261/4.311, allocations: 454 MB / 1.414 GB, free: 179.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/4.311, allocations: 4 kB / 1.414 GB, free: 179.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00511/4.316, allocations: 2.757 MB / 1.417 GB, free: 177.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.089e-05/4.316, allocations: 107.4 kB / 1.417 GB, free: 177.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/4.316, allocations: 7.984 kB / 1.417 GB, free: 177.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/4.317, allocations: 166.8 kB / 1.417 GB, free: 176.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/4.319, allocations: 467.3 kB / 1.418 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/4.322, allocations: 6.084 MB / 1.424 GB, free: 169.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/4.324, allocations: 223.8 kB / 1.424 GB, free: 169.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/4.324, allocations: 107.9 kB / 1.424 GB, free: 169.7 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.0009749/4.325, allocations: 0.567 MB / 1.425 GB, free: 169.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/4.326, allocations: 135 kB / 1.425 GB, free: 169 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/4.331, allocations: 2.607 MB / 1.427 GB, free: 166.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/4.331, allocations: 7.969 kB / 1.427 GB, free: 166.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/4.331, allocations: 0 / 1.427 GB, free: 166.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/4.331, allocations: 470.9 kB / 1.428 GB, free: 165.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/4.332, allocations: 28 kB / 1.428 GB, free: 165.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/4.333, allocations: 87.89 kB / 1.428 GB, free: 165.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/4.333, allocations: 117.1 kB / 1.428 GB, free: 165.7 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00496/4.338, allocations: 2.462 MB / 1.43 GB, free: 163.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005045/4.343, allocations: 3.521 MB / 1.434 GB, free: 159.7 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001438/4.345, allocations: 0.9861 MB / 1.435 GB, free: 158.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001033/4.346, allocations: 0.8385 MB / 1.436 GB, free: 157.9 MB / 0.8419 GB Notification: Performance of Backend: time 2.91e-07/4.346, allocations: 0 / 1.436 GB, free: 157.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00789/4.354, allocations: 2.987 MB / 1.438 GB, free: 155.1 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004611/4.358, allocations: 3.695 MB / 1.442 GB, free: 151.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.03773/4.396, allocations: 31.69 MB / 1.473 GB, free: 119.9 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)