Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001073/0.001073, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.0017/0.001701, allocations: 67.03 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2474, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.4068/0.6543, allocations: 4.986 MB / 0.7897 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.8155, allocations: 150.5 MB / 0.9367 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.8163, allocations: 19.94 kB / 0.9367 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.8169, allocations: 194.1 kB / 0.9369 GB, free: 14.43 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.001536/0.8184, allocations: 0.5095 MB / 0.9374 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.8205, allocations: 0.9045 MB / 0.9382 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.8219, allocations: 1.558 MB / 0.9398 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.8232, allocations: 1.117 MB / 0.9409 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.824, allocations: 0.6733 MB / 0.9415 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.8247, allocations: 0.7272 MB / 0.9422 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.8249, allocations: 184 kB / 0.9424 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.8257, allocations: 479.7 kB / 0.9429 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.826, allocations: 438.6 kB / 0.9433 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.8266, allocations: 0.7979 MB / 0.9441 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.8286, allocations: 2.223 MB / 0.9462 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8286, allocations: 4 kB / 0.9462 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8286, allocations: 0 / 0.9462 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.8287, allocations: 0 / 0.9462 GB, free: 4.805 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002757/0.8314, allocations: 1.793 MB / 0.948 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8315, allocations: 16.02 kB / 0.948 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.8324, allocations: 234.7 kB / 0.9482 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.8337, allocations: 0.9188 MB / 0.9491 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.8338, allocations: 136.5 kB / 0.9492 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.834, allocations: 139.9 kB / 0.9494 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.8362, allocations: 1.428 MB / 0.9508 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.8362, allocations: 5.406 kB / 0.9508 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8363, allocations: 60 kB / 0.9508 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.8364, allocations: 32 kB / 0.9509 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.8386, allocations: 1.462 MB / 0.9523 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.844, allocations: 3.698 MB / 0.9559 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.8455, allocations: 0.9036 MB / 0.9568 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.8461, allocations: 367.7 kB / 0.9571 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.8463, allocations: 45.02 kB / 0.9572 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009198/0.8472, allocations: 0.5482 MB / 0.9577 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=93): time 2.815e-06/0.8472, allocations: 0 / 0.9577 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.003341/0.8505, allocations: 1.377 MB / 0.9591 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.8506, allocations: 192.9 kB / 0.9592 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.8516, allocations: 0.7432 MB / 0.96 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.8517, allocations: 41.7 kB / 0.96 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.8521, allocations: 0.5815 MB / 0.9606 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.8524, allocations: 303.5 kB / 0.9609 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.8527, allocations: 206.4 kB / 0.9611 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8528, allocations: 338 kB / 0.9614 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.8534, allocations: 325.8 kB / 0.9617 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.8541, allocations: 435.9 kB / 0.9621 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.8555, allocations: 0.7617 MB / 0.9629 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8555, allocations: 4 kB / 0.9629 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002228/0.8577, allocations: 1.028 MB / 0.9639 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.8578, allocations: 8.125 kB / 0.9639 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8578, allocations: 4 kB / 0.9639 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.8584, allocations: 78 kB / 0.964 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.8593, allocations: 207.7 kB / 0.9642 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.8613, allocations: 1.63 MB / 0.9657 GB, free: 272 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.8621, allocations: 107.9 kB / 0.9658 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/0.8622, allocations: 43.97 kB / 0.9659 GB, free: 120 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0005745/0.8628, allocations: 325.8 kB / 0.9662 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.863, allocations: 94.88 kB / 0.9663 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.8657, allocations: 1.224 MB / 0.9675 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.8657, allocations: 3.984 kB / 0.9675 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8657, allocations: 0 / 0.9675 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.8661, allocations: 315.4 kB / 0.9678 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.8662, allocations: 24 kB / 0.9678 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.8669, allocations: 60.72 kB / 0.9679 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.8671, allocations: 80.83 kB / 0.968 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002168/0.8692, allocations: 1.07 MB / 0.969 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002424/0.8717, allocations: 1.594 MB / 0.9706 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006617/0.8723, allocations: 421.8 kB / 0.971 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007166/0.8731, allocations: 0.5575 MB / 0.9715 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of Backend: time 5.71e-07/0.8731, allocations: 0 / 0.9715 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.8762, allocations: 1.266 MB / 0.9727 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003757/0.88, allocations: 2.553 MB / 0.9752 GB, free: 6.727 MB / 0.7637 GB Notification: Performance of Templates: time 0.02923/0.9093, allocations: 18.19 MB / 0.993 GB, free: 4.75 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)