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.0009351/0.0009351, 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.007405/0.007405, allocations: 169.9 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 275 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9469/0.9469, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 14.84 kB / 0.5987 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Examples.WallThermal1DNodes): time 0.4665/0.6436, allocations: 149.9 MB / 0.8315 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.655, allocations: 6.581 MB / 0.8379 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.6561, allocations: 17.25 kB / 0.838 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.6574, allocations: 341.9 kB / 0.8383 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.6599, allocations: 0.777 MB / 0.839 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.6618, allocations: 0.743 MB / 0.8398 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.6645, allocations: 2.526 MB / 0.8422 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.6661, allocations: 1.344 MB / 0.8435 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.6671, allocations: 0.7041 MB / 0.8442 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.6683, allocations: 0.8497 MB / 0.8451 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.6684, allocations: 71.03 kB / 0.8451 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.6698, allocations: 0.6464 MB / 0.8458 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.6701, allocations: 395.4 kB / 0.8461 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.671, allocations: 0.8601 MB / 0.847 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.6742, allocations: 2.976 MB / 0.8499 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.6742, allocations: 2.938 kB / 0.8499 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6743, allocations: 0 / 0.8499 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-05/0.6743, allocations: 0 / 0.8499 GB, free: 0.7852 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004757/0.6791, allocations: 1.929 MB / 0.8518 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6791, allocations: 11.66 kB / 0.8518 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.6826, allocations: 0.7036 MB / 0.8525 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6848, allocations: 1.204 MB / 0.8536 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.6851, allocations: 290.7 kB / 0.8539 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.6853, allocations: 158.9 kB / 0.8541 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.6896, allocations: 2.323 MB / 0.8563 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.6896, allocations: 3.938 kB / 0.8563 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.6898, allocations: 68 kB / 0.8564 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.69, allocations: 76.05 kB / 0.8565 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.6938, allocations: 2.109 MB / 0.8585 GB, free: 11.3 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.01258/0.7064, allocations: 8.364 MB / 0.8667 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.7103, allocations: 1.745 MB / 0.8684 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.7116, allocations: 0.6849 MB / 0.8691 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/0.7136, allocations: 1.94 MB / 0.871 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.7151, allocations: 0.827 MB / 0.8718 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.7151, allocations: 4 kB / 0.8718 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.00553/0.7207, allocations: 2.496 MB / 0.8742 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.7208, allocations: 214.6 kB / 0.8744 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.7229, allocations: 1.47 MB / 0.8759 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.7231, allocations: 45.7 kB / 0.8759 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/0.7237, allocations: 0.7518 MB / 0.8766 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.724, allocations: 315.6 kB / 0.8769 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.7243, allocations: 113.7 kB / 0.8771 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7244, allocations: 361.9 kB / 0.8774 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.7264, allocations: 0.9004 MB / 0.8783 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.7284, allocations: 1.253 MB / 0.8795 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315/4.044, allocations: 459.2 MB / 1.328 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/4.044, allocations: 0 / 1.328 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004623/4.048, allocations: 2.671 MB / 1.331 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/4.048, allocations: 103.4 kB / 1.331 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/4.048, allocations: 12 kB / 1.331 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/4.049, allocations: 170.4 kB / 1.331 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/4.051, allocations: 479 kB / 1.331 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/4.054, allocations: 5.8 MB / 1.337 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/4.056, allocations: 259.6 kB / 1.337 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/4.056, allocations: 111.9 kB / 1.337 GB, free: 4.641 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: 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.0008601/4.057, allocations: 0.5694 MB / 1.338 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/4.058, allocations: 133.5 kB / 1.338 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/4.061, allocations: 1.971 MB / 1.34 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/4.061, allocations: 12 kB / 1.34 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/4.061, allocations: 0 / 1.34 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/4.061, allocations: 11.97 kB / 1.34 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3348/4.396, allocations: 4.063 MB / 1.344 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/4.396, allocations: 1.844 kB / 1.344 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/4.398, allocations: 227.7 kB / 1.344 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/4.399, allocations: 269.7 kB / 1.344 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/4.399, allocations: 30 kB / 1.344 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/4.403, allocations: 5.622 MB / 1.35 GB, free: 277 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/4.403, allocations: 0.875 kB / 1.35 GB, free: 277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/4.408, allocations: 2.703 MB / 1.353 GB, free: 275.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/4.409, allocations: 442.1 kB / 1.353 GB, free: 275.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/4.409, allocations: 31.09 kB / 1.353 GB, free: 275.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/4.41, allocations: 96.33 kB / 1.353 GB, free: 275.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/4.411, allocations: 82.31 kB / 1.353 GB, free: 275.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/4.411, allocations: 34.77 kB / 1.353 GB, free: 275.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001393/4.412, allocations: 1.032 MB / 1.354 GB, free: 275.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/4.412, allocations: 0 / 1.354 GB, free: 275.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001716/4.414, allocations: 0.5735 MB / 1.355 GB, free: 275.1 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.00134/4.415, allocations: 0.5872 MB / 1.355 GB, free: 274.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007456/4.423, allocations: 2.821 MB / 1.358 GB, free: 273.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/4.423, allocations: 0 / 1.358 GB, free: 273.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/4.425, allocations: 1.162 MB / 1.359 GB, free: 273.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/4.427, allocations: 266.2 kB / 1.36 GB, free: 273.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/4.434, allocations: 4.333 MB / 1.364 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/4.435, allocations: 1.454 MB / 1.365 GB, free: 269.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002327/4.437, allocations: 0.5465 MB / 1.366 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/4.438, allocations: 152.6 kB / 1.366 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/4.438, allocations: 0 / 1.366 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.03587/4.474, allocations: 23.96 MB / 1.389 GB, free: 256.7 MB / 0.7481 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)