Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 176.7 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 96.34 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12.31 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 106.3 MB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005621/0.2606, allocations: 4.558 MB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.4419, allocations: 146.6 MB / 1.049 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.4431, allocations: 19.88 kB / 1.049 GB, free: 7.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.4437, allocations: 146.8 kB / 1.049 GB, free: 7.773 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001834/0.4456, allocations: 456.9 kB / 1.049 GB, free: 7.328 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.4479, allocations: 0.794 MB / 1.05 GB, free: 6.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.4498, allocations: 1.436 MB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4513, allocations: 1.05 MB / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4523, allocations: 437.5 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.4529, allocations: 484.9 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.4531, allocations: 32 kB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.4539, allocations: 303.7 kB / 1.054 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.4542, allocations: 234.7 kB / 1.054 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.4549, allocations: 0.6031 MB / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6094/1.064, allocations: 2.002 MB / 1.056 GB, free: 5.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.064, allocations: 4.641 kB / 1.056 GB, free: 5.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.877e-06/1.064, allocations: 1.031 kB / 1.056 GB, free: 5.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001233/1.065, allocations: 0 / 1.056 GB, free: 5.117 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.003563/1.068, allocations: 1.471 MB / 1.058 GB, free: 4.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.068, allocations: 14.78 kB / 1.058 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002573/1.068, allocations: 215.2 kB / 1.058 GB, free: 4.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/1.069, allocations: 246.8 kB / 1.058 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.071, allocations: 0.9022 MB / 1.059 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.071, allocations: 135.5 kB / 1.059 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.071, allocations: 139.8 kB / 1.059 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/1.074, allocations: 1.432 MB / 1.061 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.074, allocations: 2.062 kB / 1.061 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.074, allocations: 59.31 kB / 1.061 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.074, allocations: 35.19 kB / 1.061 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/1.077, allocations: 1.473 MB / 1.062 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008809/1.085, allocations: 3.788 MB / 1.066 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/1.087, allocations: 0.9171 MB / 1.067 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/1.088, allocations: 371.6 kB / 1.067 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.088, allocations: 44.12 kB / 1.067 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/1.089, allocations: 0.5569 MB / 1.068 GB, free: 2.559 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 4.388e-06/1.089, allocations: 0 / 1.068 GB, free: 2.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.004501/1.094, allocations: 1.386 MB / 1.069 GB, free: 2.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.094, allocations: 196.4 kB / 1.069 GB, free: 2.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.096, allocations: 0.7495 MB / 1.07 GB, free: 1.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/1.096, allocations: 42.58 kB / 1.07 GB, free: 1.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.096, allocations: 0.5863 MB / 1.071 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.096, allocations: 302.9 kB / 1.071 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/1.096, allocations: 14.28 kB / 1.071 GB, free: 1.469 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.097, allocations: 340.5 kB / 1.071 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/1.097, allocations: 313.9 kB / 1.072 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/1.098, allocations: 430.4 kB / 1.072 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.1, allocations: 0.7538 MB / 1.073 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.1, allocations: 0.875 kB / 1.073 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002584/1.103, allocations: 0.9878 MB / 1.074 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.103, allocations: 6.188 kB / 1.074 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.103, allocations: 3.609 kB / 1.074 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/1.103, allocations: 90.94 kB / 1.074 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/1.104, allocations: 189.5 kB / 1.074 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.106, allocations: 1.538 MB / 1.076 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/1.107, allocations: 110.8 kB / 1.076 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.108, allocations: 38.67 kB / 1.076 GB, free: 15.54 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007947/1.108, allocations: 318.2 kB / 1.076 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.108, allocations: 97.19 kB / 1.076 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/1.112, allocations: 1.299 MB / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.112, allocations: 15.16 kB / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.112, allocations: 0 / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.112, allocations: 6.844 kB / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/1.116, allocations: 2.5 MB / 1.08 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.116, allocations: 0 / 1.08 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/1.117, allocations: 181.3 kB / 1.08 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/1.117, allocations: 86.03 kB / 1.08 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/1.117, allocations: 27.12 kB / 1.08 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/1.119, allocations: 1.568 MB / 1.082 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.119, allocations: 1.094 kB / 1.082 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.121, allocations: 1.122 MB / 1.083 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/1.122, allocations: 342.9 kB / 1.083 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.122, allocations: 23.02 kB / 1.083 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/1.123, allocations: 76.75 kB / 1.083 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.123, allocations: 76 kB / 1.083 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.123, allocations: 43.25 kB / 1.083 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009296/1.124, allocations: 0.5467 MB / 1.084 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/1.124, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001538/1.126, allocations: 376 kB / 1.084 GB, free: 12.94 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004582/1.13, allocations: 2.14 MB / 1.086 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.132, allocations: 0.9362 MB / 1.087 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.132, allocations: 0 / 1.087 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.133, allocations: 0.5861 MB / 1.088 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/1.135, allocations: 286.2 kB / 1.088 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.152, allocations: 8.857 MB / 1.097 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.153, allocations: 1.162 MB / 1.098 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001131/1.154, allocations: 283.3 kB / 1.098 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007925/1.155, allocations: 0.5543 MB / 1.099 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of SimCode: time 1.392e-06/1.155, allocations: 0 / 1.099 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/1.208, allocations: 23.71 MB / 1.122 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/1.208, allocations: 313.2 kB / 1.122 GB, free: 380 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.373, allocations: 2.922 kB / 1.122 GB, free: 380 kB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)