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.0009777/0.0009776, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007786/0.007786, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 270.8 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 14.91 kB / 0.5986 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermalTriangular1DNodes): time 0.4869/0.6413, allocations: 149.9 MB / 0.8315 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009199/0.6505, allocations: 6.602 MB / 0.8379 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007605/0.6513, allocations: 17.22 kB / 0.8379 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6524, allocations: 349.5 kB / 0.8383 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.6543, allocations: 0.6973 MB / 0.839 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.6564, allocations: 0.8359 MB / 0.8398 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.6591, allocations: 2.619 MB / 0.8423 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.6606, allocations: 1.339 MB / 0.8436 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000919/0.6616, allocations: 0.6998 MB / 0.8443 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.663, allocations: 0.9139 MB / 0.8452 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.6632, allocations: 72.09 kB / 0.8453 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.665, allocations: 0.6522 MB / 0.8459 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.6655, allocations: 435.6 kB / 0.8463 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009713/0.6664, allocations: 0.8833 MB / 0.8472 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.6696, allocations: 3.033 MB / 0.8502 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.6697, allocations: 0 / 0.8502 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6697, allocations: 0 / 0.8502 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.765e-05/0.6697, allocations: 0 / 0.8502 GB, free: 0.6797 MB / 0.5606 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.003812/0.6735, allocations: 2.036 MB / 0.8522 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6736, allocations: 18.55 kB / 0.8522 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.6777, allocations: 1.073 MB / 0.8532 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.6802, allocations: 1.213 MB / 0.8544 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.6804, allocations: 290.8 kB / 0.8547 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.6807, allocations: 166.6 kB / 0.8548 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/0.6849, allocations: 2.395 MB / 0.8572 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.685, allocations: 2.781 kB / 0.8572 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.6851, allocations: 70.17 kB / 0.8572 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.6853, allocations: 112 kB / 0.8574 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.6891, allocations: 2.16 MB / 0.8595 GB, free: 10.89 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.01166/0.7008, allocations: 8.576 MB / 0.8678 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.7049, allocations: 1.778 MB / 0.8696 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.7062, allocations: 0.6888 MB / 0.8702 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.7082, allocations: 1.944 MB / 0.8721 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.7097, allocations: 0.8089 MB / 0.8729 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.365e-06/0.7097, allocations: 0 / 0.8729 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.005456/0.7152, allocations: 2.499 MB / 0.8754 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.7153, allocations: 145.4 kB / 0.8755 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.7173, allocations: 1.432 MB / 0.8769 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.7174, allocations: 41.7 kB / 0.877 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.7181, allocations: 0.768 MB / 0.8777 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.7184, allocations: 315.6 kB / 0.878 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.7186, allocations: 105.7 kB / 0.8781 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7188, allocations: 357.9 kB / 0.8784 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.7204, allocations: 0.8848 MB / 0.8793 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.7223, allocations: 1.127 MB / 0.8804 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588/4.31, allocations: 469.1 MB / 1.338 GB, free: 282 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/4.31, allocations: 6.906 kB / 1.338 GB, free: 282 MB / 0.7481 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004733/4.315, allocations: 2.536 MB / 1.341 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/4.315, allocations: 110.5 kB / 1.341 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/4.315, allocations: 7.781 kB / 1.341 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/4.317, allocations: 340.7 kB / 1.341 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/4.319, allocations: 460.8 kB / 1.342 GB, free: 281.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/4.322, allocations: 5.833 MB / 1.348 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/4.324, allocations: 355.6 kB / 1.348 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/4.324, allocations: 78.02 kB / 1.348 GB, free: 276.4 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.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.0009034/4.325, allocations: 0.586 MB / 1.349 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/4.325, allocations: 137.8 kB / 1.349 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/4.329, allocations: 1.961 MB / 1.351 GB, free: 275.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/4.329, allocations: 12.11 kB / 1.351 GB, free: 275.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.33, allocations: 0.875 kB / 1.351 GB, free: 275.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/4.33, allocations: 12.33 kB / 1.351 GB, free: 275.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/4.335, allocations: 3.864 MB / 1.354 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/4.335, allocations: 1.875 kB / 1.354 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/4.336, allocations: 228.3 kB / 1.355 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/4.339, allocations: 0.7389 MB / 1.355 GB, free: 273.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/4.339, allocations: 34.97 kB / 1.355 GB, free: 273.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/4.343, allocations: 5.666 MB / 1.361 GB, free: 268.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/4.343, allocations: 1.812 kB / 1.361 GB, free: 268.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/4.347, allocations: 2.709 MB / 1.364 GB, free: 267.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/4.348, allocations: 423.9 kB / 1.364 GB, free: 266.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/4.348, allocations: 24.34 kB / 1.364 GB, free: 266.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/4.349, allocations: 139.2 kB / 1.364 GB, free: 266.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/4.349, allocations: 81.22 kB / 1.364 GB, free: 266.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/4.349, allocations: 36.56 kB / 1.364 GB, free: 266.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001523/4.351, allocations: 0.9939 MB / 1.365 GB, free: 266.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/4.351, allocations: 0 / 1.365 GB, free: 266.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00164/4.353, allocations: 0.5913 MB / 1.366 GB, free: 266.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 99 * 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.001234/4.354, allocations: 0.576 MB / 1.366 GB, free: 266.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006584/4.36, allocations: 2.779 MB / 1.369 GB, free: 264.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/4.36, allocations: 0.875 kB / 1.369 GB, free: 264.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/4.362, allocations: 1.168 MB / 1.37 GB, free: 264 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/4.364, allocations: 270 kB / 1.37 GB, free: 263.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/4.369, allocations: 4.451 MB / 1.375 GB, free: 260.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/4.37, allocations: 1.484 MB / 1.376 GB, free: 259.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001726/4.372, allocations: 0.4974 MB / 1.377 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/4.372, allocations: 128.2 kB / 1.377 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of SimCode: time 2.204e-06/4.372, allocations: 0 / 1.377 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.02877/4.401, allocations: 23.04 MB / 1.399 GB, free: 240.9 MB / 0.7481 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)