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.198/1.198, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008787/0.0008787, allocations: 171.4 kB / 325.8 MB, free: 2.703 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.241/1.241, allocations: 205 MB / 0.576 GB, free: 21.04 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.0006636/0.0006636, allocations: 96.73 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 17.19 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003229/0.1363, allocations: 3.785 MB / 0.8999 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1138/0.2502, allocations: 147.9 MB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.2507, allocations: 15.94 kB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.2511, allocations: 127 kB / 1.044 GB, free: 11.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.0008515/0.2519, allocations: 364.1 kB / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2531, allocations: 0.6684 MB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000749/0.2539, allocations: 1.074 MB / 1.046 GB, free: 9.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.2545, allocations: 0.5629 MB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2548, allocations: 294.5 kB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.2552, allocations: 318.2 kB / 1.048 GB, free: 8.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.2552, allocations: 24 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.2556, allocations: 291.7 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2558, allocations: 167.2 kB / 1.048 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.256, allocations: 377.4 kB / 1.048 GB, free: 7.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.257, allocations: 1.3 MB / 1.05 GB, free: 6.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.257, allocations: 0 / 1.05 GB, free: 6.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.257, allocations: 0 / 1.05 GB, free: 6.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.257, allocations: 0 / 1.05 GB, free: 6.262 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.001475/0.2585, allocations: 1.088 MB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2585, allocations: 16.03 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.2587, allocations: 122.9 kB / 1.051 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00075/0.2594, allocations: 183.6 kB / 1.051 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.2602, allocations: 0.6993 MB / 1.052 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.2602, allocations: 58 kB / 1.052 GB, free: 4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.2603, allocations: 72 kB / 1.052 GB, free: 3.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2615, allocations: 0.8403 MB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2615, allocations: 3.938 kB / 1.053 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.2616, allocations: 32 kB / 1.053 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2616, allocations: 20 kB / 1.053 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.263, allocations: 1.061 MB / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2702/0.5332, allocations: 2.393 MB / 1.056 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.5345, allocations: 0.7295 MB / 1.057 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.5349, allocations: 281.3 kB / 1.057 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.535, allocations: 31.67 kB / 1.057 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.5356, allocations: 424.9 kB / 1.058 GB, free: 159 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.5356, allocations: 3.188 kB / 1.058 GB, free: 159 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002485/0.5381, allocations: 1.089 MB / 1.059 GB, free: 158.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5382, allocations: 189.5 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.5388, allocations: 0.5584 MB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5388, allocations: 39.72 kB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.539, allocations: 374.7 kB / 1.06 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5391, allocations: 233.3 kB / 1.06 GB, free: 158.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.5392, allocations: 53.31 kB / 1.06 GB, free: 158.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.5393, allocations: 381.5 kB / 1.06 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.5397, allocations: 219.5 kB / 1.061 GB, free: 157.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.5401, allocations: 328.4 kB / 1.061 GB, free: 157.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.5409, allocations: 0.5326 MB / 1.061 GB, free: 157.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5409, allocations: 3.844 kB / 1.061 GB, free: 157.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00146/0.5424, allocations: 0.7233 MB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5424, allocations: 5.25 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5424, allocations: 2.281 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.543, allocations: 83.09 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.5435, allocations: 134.9 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.5451, allocations: 1.537 MB / 1.064 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.5456, allocations: 80.16 kB / 1.064 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.5456, allocations: 26.59 kB / 1.064 GB, free: 156.4 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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.0002875/0.5459, allocations: 252.9 kB / 1.064 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5461, allocations: 78.94 kB / 1.064 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.5481, allocations: 0.9928 MB / 1.065 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.5482, allocations: 9.219 kB / 1.065 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5482, allocations: 7.656 kB / 1.065 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.5482, allocations: 4.5 kB / 1.065 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.5491, allocations: 0.8365 MB / 1.066 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5491, allocations: 0 / 1.066 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.5496, allocations: 138.8 kB / 1.066 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.5501, allocations: 85.77 kB / 1.066 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.5502, allocations: 20.91 kB / 1.066 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.5515, allocations: 1.557 MB / 1.068 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5516, allocations: 4.875 kB / 1.068 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.5532, allocations: 0.8382 MB / 1.069 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.5535, allocations: 255.2 kB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5536, allocations: 16.45 kB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.5541, allocations: 68.12 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5542, allocations: 59.98 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.5543, allocations: 30.53 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005242/0.5549, allocations: 426.1 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5549, allocations: 0 / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006769/0.5555, allocations: 261.6 kB / 1.07 GB, free: 154.1 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.002805/0.5584, allocations: 1.84 MB / 1.072 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.5597, allocations: 0.7319 MB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5597, allocations: 3.719 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.5604, allocations: 491.7 kB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.5614, allocations: 256 kB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.571, allocations: 6.287 MB / 1.079 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.5714, allocations: 0.9913 MB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000717/0.5721, allocations: 255.2 kB / 1.08 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.5725, allocations: 342.6 kB / 1.081 GB, free: 148.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5725, allocations: 5.156 kB / 1.081 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4041/0.9766, allocations: 18.24 MB / 1.098 GB, free: 134.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.9767, allocations: 304.1 kB / 1.099 GB, free: 133.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.374, allocations: 0 / 1.099 GB, free: 133.8 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)