Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 107.6 kB / 16.37 MB, free: 6.258 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.001239/0.001239, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.844/1.844, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001703/0.001703, allocations: 71.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2516, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.3898/0.6415, allocations: 4.083 MB / 0.7888 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.8196, allocations: 150.2 MB / 0.9354 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.8206, allocations: 15.94 kB / 0.9355 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.8216, allocations: 162.5 kB / 0.9356 GB, free: 15.72 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.002079/0.8237, allocations: 423.4 kB / 0.936 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.8259, allocations: 0.7654 MB / 0.9368 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.8275, allocations: 1.16 MB / 0.9379 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009078/0.8284, allocations: 0.5939 MB / 0.9385 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.829, allocations: 418.5 kB / 0.9389 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.8296, allocations: 438 kB / 0.9393 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.8297, allocations: 104 kB / 0.9394 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008445/0.8306, allocations: 391.6 kB / 0.9398 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.8308, allocations: 267.1 kB / 0.94 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.8313, allocations: 497.4 kB / 0.9405 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.8328, allocations: 1.417 MB / 0.9419 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8329, allocations: 3.938 kB / 0.9419 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8329, allocations: 0 / 0.9419 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.8329, allocations: 0.8438 kB / 0.9419 GB, free: 9.285 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002042/0.8349, allocations: 1.278 MB / 0.9431 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.835, allocations: 8.031 kB / 0.9431 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.8359, allocations: 179.5 kB / 0.9433 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.837, allocations: 0.7151 MB / 0.944 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.837, allocations: 54 kB / 0.9441 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.8371, allocations: 76 kB / 0.9441 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.8386, allocations: 0.8442 MB / 0.945 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.8386, allocations: 1.688 kB / 0.945 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.8387, allocations: 36 kB / 0.945 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.8387, allocations: 16 kB / 0.945 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.8404, allocations: 1.046 MB / 0.946 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.844, allocations: 2.331 MB / 0.9483 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.8453, allocations: 0.7137 MB / 0.949 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.8458, allocations: 274.4 kB / 0.9493 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.8459, allocations: 32.58 kB / 0.9493 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007796/0.8467, allocations: 425.7 kB / 0.9497 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.507e-06/0.8467, allocations: 0 / 0.9497 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002936/0.8497, allocations: 1.074 MB / 0.9508 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.8498, allocations: 193.8 kB / 0.9509 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.8505, allocations: 0.5616 MB / 0.9515 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.8506, allocations: 41.7 kB / 0.9515 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.8508, allocations: 372.2 kB / 0.9519 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.851, allocations: 232.7 kB / 0.9521 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.8512, allocations: 142.5 kB / 0.9522 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8514, allocations: 378.8 kB / 0.9526 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.8518, allocations: 237.9 kB / 0.9528 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.8524, allocations: 326.8 kB / 0.9531 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.8534, allocations: 0.5507 MB / 0.9537 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8534, allocations: 0 / 0.9537 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001754/0.8551, allocations: 0.7666 MB / 0.9544 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.8552, allocations: 8.094 kB / 0.9544 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8552, allocations: 4 kB / 0.9544 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.8558, allocations: 84.72 kB / 0.9545 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.8565, allocations: 145.2 kB / 0.9547 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.8586, allocations: 1.645 MB / 0.9563 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.8592, allocations: 75.42 kB / 0.9563 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.8593, allocations: 27.98 kB / 0.9564 GB, free: 9.934 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 (81): * Single equations (assignments): 80 * 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.000383/0.8597, allocations: 253.7 kB / 0.9566 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.8598, allocations: 75.06 kB / 0.9567 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.8619, allocations: 0.9237 MB / 0.9576 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.8619, allocations: 3.984 kB / 0.9576 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8619, allocations: 3.938 kB / 0.9576 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.8622, allocations: 253 kB / 0.9578 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.8623, allocations: 16 kB / 0.9578 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.8628, allocations: 60.64 kB / 0.9579 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.863, allocations: 52.92 kB / 0.9579 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001742/0.8647, allocations: 0.8615 MB / 0.9588 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001905/0.8666, allocations: 1.266 MB / 0.96 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005196/0.8672, allocations: 319.9 kB / 0.9603 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004978/0.8677, allocations: 423 kB / 0.9607 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of Backend: time 4.9e-07/0.8677, allocations: 0 / 0.9607 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.8706, allocations: 1.119 MB / 0.9618 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002785/0.8734, allocations: 1.918 MB / 0.9637 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of Templates: time 0.02327/0.8967, allocations: 14.5 MB / 0.9779 GB, free: 4.32 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)