Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.438/1.438, allocations: 252 MB / 267 MB, free: 10.96 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.001143/0.001143, allocations: 183.9 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007629/0.0007628, allocations: 85.89 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 5.906 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005389/0.2658, allocations: 4.293 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.4324, allocations: 136.9 MB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.4338, allocations: 19.94 kB / 1.038 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.4347, allocations: 146.8 kB / 1.038 GB, free: 2.477 MB / 0.6823 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.002421/0.4372, allocations: 458.5 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.44, allocations: 0.6548 MB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.4428, allocations: 1.358 MB / 1.041 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.4447, allocations: 0.7832 MB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.4462, allocations: 449.6 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.4476, allocations: 489.2 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/0.448, allocations: 28 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.4493, allocations: 271.8 kB / 1.043 GB, free: 14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.4499, allocations: 226.8 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006832/0.4505, allocations: 256.9 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.4533, allocations: 1.516 MB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4533, allocations: 0 / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.297e-06/0.4533, allocations: 4 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.063e-05/0.4534, allocations: 0 / 1.045 GB, free: 12 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003985/0.4574, allocations: 1.459 MB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4574, allocations: 12.03 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005511/0.458, allocations: 206.7 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.4594, allocations: 253.8 kB / 1.046 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.4614, allocations: 0.8445 MB / 1.047 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.4616, allocations: 102.8 kB / 1.047 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.4618, allocations: 135.9 kB / 1.048 GB, free: 8.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.4651, allocations: 1.38 MB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.4651, allocations: 4 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.4653, allocations: 56 kB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.4654, allocations: 35.95 kB / 1.049 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.4684, allocations: 1.466 MB / 1.05 GB, free: 5.883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008586/0.4771, allocations: 3.594 MB / 1.054 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.479, allocations: 0.9619 MB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007648/0.4798, allocations: 391.7 kB / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.4799, allocations: 53.06 kB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.4811, allocations: 0.5787 MB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 5.19e-06/0.4811, allocations: 4 kB / 1.056 GB, free: 208 kB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.5913/1.072, allocations: 1.479 MB / 1.057 GB, free: 154.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/1.073, allocations: 190.4 kB / 1.057 GB, free: 154.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.074, allocations: 0.7388 MB / 1.058 GB, free: 154.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/1.074, allocations: 48.05 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/1.074, allocations: 0.5583 MB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.074, allocations: 347.5 kB / 1.059 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/1.074, allocations: 19.31 kB / 1.059 GB, free: 153.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/1.074, allocations: 344 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/1.075, allocations: 336 kB / 1.06 GB, free: 153.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/1.076, allocations: 468.4 kB / 1.06 GB, free: 153.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/1.077, allocations: 408.1 kB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.077, allocations: 0 / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002131/1.079, allocations: 1.069 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.079, allocations: 4.938 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.079, allocations: 0 / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/1.079, allocations: 82.98 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/1.08, allocations: 220.1 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.082, allocations: 1.525 MB / 1.063 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/1.083, allocations: 113.7 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/1.083, allocations: 43.47 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (117): * Single equations (assignments): 116 * 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.0005579/1.084, allocations: 307.4 kB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.084, allocations: 104.7 kB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/1.087, allocations: 1.406 MB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.087, allocations: 11.67 kB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.087, allocations: 0.625 kB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.087, allocations: 11.41 kB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007354/1.094, allocations: 2.56 MB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.094, allocations: 1.859 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.095, allocations: 191.4 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/1.096, allocations: 91.58 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.096, allocations: 26.61 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/1.098, allocations: 1.558 MB / 1.07 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.098, allocations: 0.8125 kB / 1.07 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/1.102, allocations: 1.173 MB / 1.071 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009163/1.103, allocations: 351.3 kB / 1.071 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/1.103, allocations: 22.06 kB / 1.071 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.104, allocations: 76.22 kB / 1.071 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.104, allocations: 77.98 kB / 1.071 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.104, allocations: 38.77 kB / 1.071 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001653/1.106, allocations: 0.5556 MB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.106, allocations: 0.5938 kB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002319/1.108, allocations: 379.5 kB / 1.072 GB, free: 149.4 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 (115): * Single equations (assignments): 112 * 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.005979/1.114, allocations: 2.174 MB / 1.074 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003045/1.117, allocations: 1.005 MB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.118, allocations: 4.188 kB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.119, allocations: 0.6066 MB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.121, allocations: 282.3 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.14, allocations: 6.485 MB / 1.083 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.141, allocations: 1.167 MB / 1.084 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001368/1.142, allocations: 296.9 kB / 1.084 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/1.143, allocations: 0.5326 MB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.094e-06/1.143, allocations: 4 kB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/1.2, allocations: 25.59 MB / 1.11 GB, free: 121.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.201, allocations: 283.6 kB / 1.11 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/4.275, allocations: 0 / 1.11 GB, free: 120.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)