Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.439/1.439, allocations: 252 MB / 267.3 MB, free: 10.85 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.001187/0.001187, allocations: 178.4 kB / 327 MB, free: 2.098 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.658/1.658, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0008065/0.0008065, allocations: 94.11 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 12.34 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003973/0.1913, allocations: 3.698 MB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.3429, allocations: 146.3 MB / 1.047 GB, free: 8.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008655/0.3438, allocations: 11.94 kB / 1.047 GB, free: 8.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.3445, allocations: 131 kB / 1.048 GB, free: 8.68 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.001593/0.3461, allocations: 351.9 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3481, allocations: 0.6738 MB / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3496, allocations: 1.07 MB / 1.05 GB, free: 6.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000946/0.3506, allocations: 0.567 MB / 1.05 GB, free: 6.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.3512, allocations: 290.5 kB / 1.05 GB, free: 5.727 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/0.3517, allocations: 323 kB / 1.051 GB, free: 5.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.3518, allocations: 20 kB / 1.051 GB, free: 5.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008065/0.3527, allocations: 291.7 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3529, allocations: 167.2 kB / 1.051 GB, free: 4.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.3533, allocations: 411.1 kB / 1.052 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.3549, allocations: 1.288 MB / 1.053 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3549, allocations: 0 / 1.053 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3549, allocations: 0 / 1.053 GB, free: 3.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.3549, allocations: 0 / 1.053 GB, free: 3.238 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002191/0.3571, allocations: 1.088 MB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3572, allocations: 12.03 kB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.3574, allocations: 126.9 kB / 1.054 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/0.3583, allocations: 183.6 kB / 1.054 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.3594, allocations: 0.7031 MB / 1.055 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.3595, allocations: 57.98 kB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.3596, allocations: 76 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3612, allocations: 0.8442 MB / 1.056 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3612, allocations: 4 kB / 1.056 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3854/0.7466, allocations: 35.48 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.7467, allocations: 20.78 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.7486, allocations: 1.054 MB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.7522, allocations: 2.381 MB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.7535, allocations: 0.7352 MB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.754, allocations: 284.3 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.7541, allocations: 33.84 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.7548, allocations: 425.3 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.7548, allocations: 0 / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002879/0.7577, allocations: 1.087 MB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.7578, allocations: 187.1 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.7585, allocations: 0.5573 MB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.7586, allocations: 43.78 kB / 1.062 GB, free: 154.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.7589, allocations: 376 kB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.759, allocations: 231 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.7591, allocations: 10.41 kB / 1.063 GB, free: 154.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7592, allocations: 382.1 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.7596, allocations: 222.8 kB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.7601, allocations: 324 kB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.761, allocations: 0.5344 MB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.761, allocations: 2.938 kB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001617/0.7626, allocations: 0.7269 MB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.7627, allocations: 6.188 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7627, allocations: 5.547 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.7633, allocations: 88.34 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.7639, allocations: 133.5 kB / 1.065 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.7659, allocations: 1.53 MB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.7666, allocations: 77.23 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.7667, allocations: 26.23 kB / 1.067 GB, free: 152.5 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 (73): * Single equations (assignments): 72 * 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.0004779/0.7672, allocations: 253.1 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7674, allocations: 77.62 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.7698, allocations: 0.9929 MB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.7698, allocations: 8.969 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7699, allocations: 3.875 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.7699, allocations: 3.797 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.7711, allocations: 0.8321 MB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7711, allocations: 0 / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.7717, allocations: 142.6 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.7723, allocations: 87.06 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.7723, allocations: 20.81 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.7739, allocations: 1.556 MB / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7739, allocations: 0 / 1.071 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.7759, allocations: 0.8449 MB / 1.072 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.7763, allocations: 269.9 kB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.7764, allocations: 12.78 kB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.777, allocations: 71.39 kB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7772, allocations: 58.52 kB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.7773, allocations: 33.66 kB / 1.072 GB, free: 150.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006128/0.7779, allocations: 422.8 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7779, allocations: 0 / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007914/0.7787, allocations: 258.1 kB / 1.073 GB, free: 150.3 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003178/0.7819, allocations: 1.852 MB / 1.075 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.7838, allocations: 0.7348 MB / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7838, allocations: 0 / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.7848, allocations: 484.9 kB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.7862, allocations: 262.5 kB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.7983, allocations: 6.311 MB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.7989, allocations: 0.9892 MB / 1.083 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001306/0.8002, allocations: 252.6 kB / 1.083 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.8009, allocations: 339.6 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.8009, allocations: 1.312 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/0.8487, allocations: 18.25 MB / 1.102 GB, free: 130 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.849, allocations: 303.6 kB / 1.102 GB, free: 129.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.609, allocations: 6.734 kB / 1.102 GB, free: 129.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)