Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 288.4 MB / 303.6 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 182.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007204/0.0007204, allocations: 100.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 12.06 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.003732/0.1533, allocations: 4.317 MB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4377/0.591, allocations: 136.7 MB / 1.118 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.5915, allocations: 21.72 kB / 1.118 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.5919, allocations: 136.6 kB / 1.118 GB, free: 2.324 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.5928, allocations: 443.2 kB / 1.119 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.5941, allocations: 0.6885 MB / 1.119 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008992/0.595, allocations: 1.364 MB / 1.121 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.5959, allocations: 1.037 MB / 1.122 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.5963, allocations: 427.1 kB / 1.122 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.5967, allocations: 463.1 kB / 1.122 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.5967, allocations: 27.62 kB / 1.122 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.5972, allocations: 282 kB / 1.123 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.5974, allocations: 229.2 kB / 1.123 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.5977, allocations: 0.5742 MB / 1.123 GB, free: 17.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.5986, allocations: 1.632 MB / 1.125 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5986, allocations: 0 / 1.125 GB, free: 16.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5987, allocations: 1.969 kB / 1.125 GB, free: 16.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5987, allocations: 0 / 1.125 GB, free: 16.95 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.001882/0.6006, allocations: 1.464 MB / 1.126 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.6006, allocations: 8.375 kB / 1.126 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.6008, allocations: 216.7 kB / 1.127 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.6016, allocations: 248.5 kB / 1.127 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/0.6025, allocations: 0.9054 MB / 1.128 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.6026, allocations: 140.7 kB / 1.128 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6028, allocations: 135.4 kB / 1.128 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.6047, allocations: 1.426 MB / 1.129 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6048, allocations: 0 / 1.129 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.6049, allocations: 59.75 kB / 1.13 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6049, allocations: 34.53 kB / 1.13 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.6069, allocations: 1.462 MB / 1.131 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.6117, allocations: 3.815 MB / 1.135 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.613, allocations: 0.9034 MB / 1.136 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.6136, allocations: 367 kB / 1.136 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.189e-05/0.6137, allocations: 40.5 kB / 1.136 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008508/0.6145, allocations: 0.5462 MB / 1.137 GB, free: 13.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.876e-06/0.6145, allocations: 0 / 1.137 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.002881/0.6174, allocations: 1.387 MB / 1.138 GB, free: 13.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.6175, allocations: 194.4 kB / 1.138 GB, free: 12.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.6183, allocations: 0.7338 MB / 1.139 GB, free: 12.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.6184, allocations: 45.27 kB / 1.139 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.6187, allocations: 0.584 MB / 1.139 GB, free: 12.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6189, allocations: 305.1 kB / 1.14 GB, free: 12.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.6189, allocations: 19.53 kB / 1.14 GB, free: 12.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.619, allocations: 337.3 kB / 1.14 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.6195, allocations: 310 kB / 1.14 GB, free: 11.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.6201, allocations: 433.6 kB / 1.141 GB, free: 11.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6213, allocations: 0.7422 MB / 1.141 GB, free: 11.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6213, allocations: 0 / 1.141 GB, free: 11.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001831/0.6231, allocations: 0.9837 MB / 1.142 GB, free: 11.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6232, allocations: 9.25 kB / 1.142 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6232, allocations: 1.531 kB / 1.142 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.6237, allocations: 84.02 kB / 1.143 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.6245, allocations: 190.5 kB / 1.143 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.6262, allocations: 1.534 MB / 1.144 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.6269, allocations: 117.3 kB / 1.144 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.6269, allocations: 37.88 kB / 1.144 GB, free: 9.633 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004176/0.6274, allocations: 315 kB / 1.145 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6275, allocations: 99.12 kB / 1.145 GB, free: 9.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.63, allocations: 1.289 MB / 1.146 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.6301, allocations: 15.44 kB / 1.146 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6301, allocations: 0 / 1.146 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.6301, allocations: 11.91 kB / 1.146 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.6335, allocations: 2.491 MB / 1.148 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6335, allocations: 0 / 1.148 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.6342, allocations: 179.2 kB / 1.149 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.6347, allocations: 84.14 kB / 1.149 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.6347, allocations: 27.14 kB / 1.149 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.6362, allocations: 1.563 MB / 1.15 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6362, allocations: 1.531 kB / 1.15 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.638, allocations: 1.116 MB / 1.151 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.6384, allocations: 348.8 kB / 1.152 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6385, allocations: 18.75 kB / 1.152 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/0.6392, allocations: 76.56 kB / 1.152 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6393, allocations: 75.14 kB / 1.152 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.6394, allocations: 39.12 kB / 1.152 GB, free: 6.137 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005946/0.64, allocations: 0.5443 MB / 1.152 GB, free: 5.965 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.64, allocations: 0 / 1.152 GB, free: 5.965 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007768/0.6408, allocations: 375.3 kB / 1.153 GB, free: 5.879 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/0.6438, allocations: 2.136 MB / 1.155 GB, free: 4.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.6453, allocations: 0.9301 MB / 1.156 GB, free: 4.594 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6453, allocations: 0 / 1.156 GB, free: 4.594 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.6461, allocations: 0.5817 MB / 1.156 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6472, allocations: 270 kB / 1.157 GB, free: 4.328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.6567, allocations: 6.431 MB / 1.163 GB, free: 1.395 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6573, allocations: 1.162 MB / 1.164 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000786/0.6581, allocations: 288.7 kB / 1.164 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.6586, allocations: 0.5443 MB / 1.165 GB, free: 308 kB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.6586, allocations: 0 / 1.165 GB, free: 308 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7445/1.403, allocations: 25.28 MB / 1.189 GB, free: 14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.403, allocations: 284.9 kB / 1.19 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.085/4.489, allocations: 0 / 1.19 GB, free: 13.64 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)