Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 114.2 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 187.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 63.84 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2479, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.3999/0.6478, allocations: 4.142 MB / 0.7888 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.8115, allocations: 150.2 MB / 0.9355 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.8123, allocations: 15.94 kB / 0.9355 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.8129, allocations: 166.5 kB / 0.9357 GB, free: 15.69 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00146/0.8144, allocations: 417.5 kB / 0.9361 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.8164, allocations: 0.7736 MB / 0.9369 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.8177, allocations: 1.18 MB / 0.938 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.8187, allocations: 0.5948 MB / 0.9386 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005152/0.8192, allocations: 438.5 kB / 0.939 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.8197, allocations: 438 kB / 0.9394 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.8198, allocations: 104 kB / 0.9395 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007473/0.8206, allocations: 387.7 kB / 0.9399 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.8208, allocations: 271.1 kB / 0.9402 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.8213, allocations: 494 kB / 0.9406 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.8228, allocations: 1.421 MB / 0.942 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.8228, allocations: 0 / 0.942 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8228, allocations: 4 kB / 0.942 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.8228, allocations: 0 / 0.942 GB, free: 9.211 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002001/0.8248, allocations: 1.292 MB / 0.9433 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8249, allocations: 12.03 kB / 0.9433 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.8258, allocations: 171.5 kB / 0.9435 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.8268, allocations: 0.7228 MB / 0.9442 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.8268, allocations: 62 kB / 0.9442 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.8269, allocations: 76 kB / 0.9443 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.8284, allocations: 0.8529 MB / 0.9451 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.8284, allocations: 0 / 0.9451 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/0.8285, allocations: 35.98 kB / 0.9452 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.8285, allocations: 20 kB / 0.9452 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.8302, allocations: 1.054 MB / 0.9462 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.8336, allocations: 2.328 MB / 0.9485 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.835, allocations: 0.7972 MB / 0.9493 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.8355, allocations: 275.7 kB / 0.9495 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.8356, allocations: 40.67 kB / 0.9496 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007765/0.8364, allocations: 428.3 kB / 0.95 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.8364, allocations: 0 / 0.95 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002979/0.8394, allocations: 1.081 MB / 0.951 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.8395, allocations: 196.5 kB / 0.9512 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.8401, allocations: 0.5578 MB / 0.9518 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.8402, allocations: 41.7 kB / 0.9518 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.8405, allocations: 372.3 kB / 0.9522 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.8407, allocations: 236.5 kB / 0.9524 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.8409, allocations: 154.5 kB / 0.9525 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.8411, allocations: 378.8 kB / 0.9529 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.8416, allocations: 233.9 kB / 0.9531 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.8422, allocations: 332.8 kB / 0.9534 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8432, allocations: 0.5526 MB / 0.954 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8433, allocations: 0 / 0.954 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001852/0.8451, allocations: 0.7825 MB / 0.9547 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.8452, allocations: 12.78 kB / 0.9547 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8452, allocations: 0 / 0.9547 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.8458, allocations: 80.78 kB / 0.9548 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.8464, allocations: 147.8 kB / 0.955 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.849, allocations: 1.636 MB / 0.9566 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.8497, allocations: 67.53 kB / 0.9566 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.8498, allocations: 35.97 kB / 0.9567 GB, free: 9.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (84): * Single equations (assignments): 83 * 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.0004571/0.8502, allocations: 253.7 kB / 0.9569 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.8504, allocations: 79 kB / 0.957 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.8525, allocations: 0.9461 MB / 0.9579 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.8526, allocations: 3.984 kB / 0.9579 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8526, allocations: 4 kB / 0.9579 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.8529, allocations: 251.9 kB / 0.9581 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.853, allocations: 23.89 kB / 0.9582 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.8536, allocations: 48.89 kB / 0.9582 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8537, allocations: 72.78 kB / 0.9583 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001878/0.8556, allocations: 0.8772 MB / 0.9591 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002044/0.8576, allocations: 1.287 MB / 0.9604 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005269/0.8582, allocations: 335.8 kB / 0.9607 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004818/0.8587, allocations: 415.1 kB / 0.9611 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of Backend: time 5.91e-07/0.8587, allocations: 0 / 0.9611 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.8616, allocations: 1.128 MB / 0.9622 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002681/0.8643, allocations: 1.965 MB / 0.9641 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of Templates: time 0.02405/0.8884, allocations: 14.52 MB / 0.9783 GB, free: 3.883 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)