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.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.00151/0.00151, allocations: 176.6 kB / 372 MB, free: 10.25 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.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008701/0.0008701, allocations: 94.22 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004123, allocations: 14.41 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2586, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004812/0.2635, allocations: 4.309 MB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8432/1.107, allocations: 136.7 MB / 1.117 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/1.108, allocations: 21.16 kB / 1.117 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007215/1.109, allocations: 140.3 kB / 1.118 GB, free: 2.164 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.002199/1.111, allocations: 435.4 kB / 1.118 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/1.114, allocations: 0.6854 MB / 1.119 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002326/1.116, allocations: 1.339 MB / 1.12 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/1.118, allocations: 0.8727 MB / 1.121 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.119, allocations: 426.8 kB / 1.121 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000705/1.119, allocations: 464.5 kB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/1.12, allocations: 28.31 kB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/1.121, allocations: 273.7 kB / 1.122 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/1.121, allocations: 222.1 kB / 1.122 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/1.121, allocations: 264.9 kB / 1.122 GB, free: 17.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/1.123, allocations: 1.633 MB / 1.124 GB, free: 17.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.123, allocations: 1.312 kB / 1.124 GB, free: 17.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.123, allocations: 0 / 1.124 GB, free: 17.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.965e-05/1.123, allocations: 0 / 1.124 GB, free: 17.04 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.003115/1.126, allocations: 1.49 MB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.127, allocations: 12.72 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003334/1.127, allocations: 215.9 kB / 1.126 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.128, allocations: 246.4 kB / 1.126 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.129, allocations: 0.8728 MB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.13, allocations: 135.1 kB / 1.127 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.13, allocations: 137.9 kB / 1.127 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/1.132, allocations: 1.421 MB / 1.128 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.132, allocations: 0 / 1.128 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.133, allocations: 66.42 kB / 1.128 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/1.133, allocations: 35.59 kB / 1.128 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/1.135, allocations: 1.459 MB / 1.13 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006262/1.141, allocations: 3.801 MB / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.143, allocations: 0.9055 MB / 1.135 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/1.143, allocations: 370.1 kB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/1.143, allocations: 43.05 kB / 1.135 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.145, allocations: 0.5492 MB / 1.135 GB, free: 13.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/1.145, allocations: 0 / 1.135 GB, free: 13.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003552/1.148, allocations: 1.385 MB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.148, allocations: 196.2 kB / 1.137 GB, free: 12.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.149, allocations: 0.7391 MB / 1.138 GB, free: 12.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/1.15, allocations: 47.2 kB / 1.138 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/1.15, allocations: 0.5855 MB / 1.138 GB, free: 12.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.15, allocations: 305.8 kB / 1.139 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/1.15, allocations: 15.84 kB / 1.139 GB, free: 12.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.151, allocations: 337.5 kB / 1.139 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/1.151, allocations: 310.4 kB / 1.139 GB, free: 11.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/1.152, allocations: 431.5 kB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/1.153, allocations: 376.6 kB / 1.14 GB, free: 11.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.153, allocations: 0 / 1.14 GB, free: 11.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002311/1.155, allocations: 0.9759 MB / 1.141 GB, free: 11.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.155, allocations: 5.562 kB / 1.141 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.155, allocations: 6.172 kB / 1.141 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/1.156, allocations: 86.98 kB / 1.141 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/1.157, allocations: 189.5 kB / 1.141 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.159, allocations: 1.526 MB / 1.143 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/1.16, allocations: 112 kB / 1.143 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/1.16, allocations: 37.91 kB / 1.143 GB, free: 9.832 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.0008013/1.161, allocations: 320.9 kB / 1.143 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.161, allocations: 92.81 kB / 1.143 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/1.164, allocations: 1.303 MB / 1.145 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.164, allocations: 15.62 kB / 1.145 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.164, allocations: 0 / 1.145 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.164, allocations: 7.969 kB / 1.145 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/1.169, allocations: 2.496 MB / 1.147 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.169, allocations: 3.984 kB / 1.147 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/1.17, allocations: 179.7 kB / 1.147 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/1.17, allocations: 89.3 kB / 1.147 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/1.171, allocations: 30.56 kB / 1.147 GB, free: 8.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/1.173, allocations: 1.565 MB / 1.149 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.173, allocations: 3.984 kB / 1.149 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.175, allocations: 1.11 MB / 1.15 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/1.176, allocations: 339.1 kB / 1.15 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.176, allocations: 23.52 kB / 1.15 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/1.177, allocations: 76.75 kB / 1.15 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.177, allocations: 76.95 kB / 1.15 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/1.177, allocations: 37.86 kB / 1.15 GB, free: 6.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009273/1.178, allocations: 0.5433 MB / 1.151 GB, free: 6.152 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 0 / 1.151 GB, free: 6.152 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001401/1.18, allocations: 380.1 kB / 1.151 GB, free: 6.062 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.003912/1.183, allocations: 2.122 MB / 1.153 GB, free: 5.027 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.186, allocations: 0.9398 MB / 1.154 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.186, allocations: 1.375 kB / 1.154 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.187, allocations: 0.5782 MB / 1.155 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.188, allocations: 270.9 kB / 1.155 GB, free: 4.516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.202, allocations: 6.431 MB / 1.161 GB, free: 1.582 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/1.203, allocations: 1.159 MB / 1.163 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001196/1.204, allocations: 288.5 kB / 1.163 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/1.205, allocations: 0.5435 MB / 1.163 GB, free: 500 kB / 0.698 GB Notification: Performance of SimCode: time 2.324e-06/1.205, allocations: 0 / 1.163 GB, free: 500 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/1.263, allocations: 25.12 MB / 1.188 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/1.263, allocations: 293 kB / 1.188 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/4.207, allocations: 3.938 kB / 1.188 GB, free: 14.38 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)