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.0007877/0.0007881, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006261/0.006261, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 282.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 16.44 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodesFlexGeo): time 0.4627/0.6124, allocations: 150.1 MB / 0.8317 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009258/0.6217, allocations: 6.661 MB / 0.8382 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.623, allocations: 16.75 kB / 0.8382 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.6242, allocations: 347.2 kB / 0.8385 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.6266, allocations: 0.7217 MB / 0.8392 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.6288, allocations: 0.8451 MB / 0.84 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002987/0.6318, allocations: 2.741 MB / 0.8427 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.6335, allocations: 1.448 MB / 0.8441 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.6346, allocations: 0.7305 MB / 0.8448 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.6358, allocations: 0.9387 MB / 0.8458 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.636, allocations: 71.47 kB / 0.8458 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.6373, allocations: 0.6629 MB / 0.8465 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.6377, allocations: 432.1 kB / 0.8469 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008502/0.6386, allocations: 0.9155 MB / 0.8478 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.6415, allocations: 3.123 MB / 0.8508 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6415, allocations: 0 / 0.8508 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6415, allocations: 0 / 0.8508 GB, free: 248 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.947e-05/0.6416, allocations: 0 / 0.8508 GB, free: 248 kB / 0.5606 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.003969/0.6455, allocations: 2.117 MB / 0.8529 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6456, allocations: 11.56 kB / 0.8529 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.6497, allocations: 1.081 MB / 0.854 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.6521, allocations: 1.255 MB / 0.8552 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.6523, allocations: 297.4 kB / 0.8555 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.6526, allocations: 172.1 kB / 0.8556 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.6566, allocations: 2.481 MB / 0.8581 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.6566, allocations: 0 / 0.8581 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.6568, allocations: 75.97 kB / 0.8581 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.657, allocations: 110.8 kB / 0.8582 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/0.6608, allocations: 2.226 MB / 0.8604 GB, free: 10.29 MB / 0.5762 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.01123/0.6721, allocations: 8.743 MB / 0.869 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.6763, allocations: 1.845 MB / 0.8708 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.6777, allocations: 0.7785 MB / 0.8715 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.6797, allocations: 1.94 MB / 0.8734 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.6813, allocations: 0.8482 MB / 0.8742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=93): time 2.856e-06/0.6813, allocations: 0 / 0.8742 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93): time 0.005664/0.687, allocations: 2.719 MB / 0.8769 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.6871, allocations: 119.8 kB / 0.877 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.6889, allocations: 1.422 MB / 0.8784 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.689, allocations: 45.69 kB / 0.8784 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000612/0.6896, allocations: 0.8 MB / 0.8792 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.6899, allocations: 323.4 kB / 0.8795 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.6901, allocations: 113.6 kB / 0.8796 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6902, allocations: 353.9 kB / 0.88 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.6918, allocations: 0.873 MB / 0.8808 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.6935, allocations: 1.119 MB / 0.8819 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663/4.356, allocations: 469.1 MB / 1.34 GB, free: 282 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/4.356, allocations: 2.438 kB / 1.34 GB, free: 282 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.009399/4.366, allocations: 2.537 MB / 1.343 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/4.366, allocations: 104.7 kB / 1.343 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/4.366, allocations: 8.188 kB / 1.343 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/4.367, allocations: 181.3 kB / 1.343 GB, free: 281.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/4.371, allocations: 464.3 kB / 1.343 GB, free: 281.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/4.377, allocations: 5.78 MB / 1.349 GB, free: 276.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/4.38, allocations: 284.6 kB / 1.349 GB, free: 276.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004622/4.38, allocations: 82.42 kB / 1.349 GB, free: 276.3 MB / 0.7481 GB Warning: Assuming fixed start value for the following 4 variables: wall.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 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 = max(0.0, 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 = max(0.0, 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 = max(0.0, 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.001988/4.382, allocations: 0.5976 MB / 1.35 GB, free: 276 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005862/4.383, allocations: 148.5 kB / 1.35 GB, free: 276 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008496/4.391, allocations: 2.176 MB / 1.352 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/4.391, allocations: 11.47 kB / 1.352 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/4.391, allocations: 1.219 kB / 1.352 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/4.391, allocations: 7.641 kB / 1.352 GB, free: 275.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/4.404, allocations: 3.989 MB / 1.356 GB, free: 273.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/4.404, allocations: 0.7031 kB / 1.356 GB, free: 273.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/4.406, allocations: 284.2 kB / 1.356 GB, free: 273.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/4.408, allocations: 263 kB / 1.357 GB, free: 273.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/4.408, allocations: 42.25 kB / 1.357 GB, free: 273.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/4.413, allocations: 5.61 MB / 1.362 GB, free: 268.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/4.413, allocations: 3.906 kB / 1.362 GB, free: 268.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/4.419, allocations: 2.94 MB / 1.365 GB, free: 266.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000843/4.42, allocations: 434.5 kB / 1.365 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/4.42, allocations: 27.33 kB / 1.365 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/4.421, allocations: 139.9 kB / 1.365 GB, free: 266.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/4.422, allocations: 79.91 kB / 1.366 GB, free: 266.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/4.422, allocations: 44.28 kB / 1.366 GB, free: 266.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001286/4.423, allocations: 0.9865 MB / 1.367 GB, free: 265.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/4.423, allocations: 0 / 1.367 GB, free: 265.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001816/4.425, allocations: 0.5795 MB / 1.367 GB, free: 265.7 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (wall.construction.layer[1].T[1],wall.construction.layer[1].T[2],wall.construction.layer[2].T[1],wall.construction.layer[2].T[2]) * Number of discrete variables: 2 ($whenCondition1,ambience.weatherDataReader.weatherData.conTim.tNext) * Number of discrete states: 1 (ambience.weatherDataReader.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 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): 4 systems {(1,3), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/4.426, allocations: 0.5732 MB / 1.368 GB, free: 265.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007299/4.434, allocations: 2.832 MB / 1.37 GB, free: 263.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/4.434, allocations: 1.203 kB / 1.37 GB, free: 263.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/4.436, allocations: 1.23 MB / 1.372 GB, free: 263.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/4.437, allocations: 295.8 kB / 1.372 GB, free: 262.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/4.443, allocations: 4.628 MB / 1.376 GB, free: 259.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/4.444, allocations: 1.537 MB / 1.378 GB, free: 258.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001729/4.446, allocations: 0.5035 MB / 1.378 GB, free: 258.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/4.446, allocations: 135.6 kB / 1.379 GB, free: 258.6 MB / 0.7481 GB Notification: Performance of SimCode: time 6.72e-07/4.446, allocations: 0 / 1.379 GB, free: 258.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.03177/4.478, allocations: 23.56 MB / 1.402 GB, free: 238.3 MB / 0.7481 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)