Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001058/0.001058, allocations: 194.2 kB / 16.25 MB, free: 6.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.395/1.395, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.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.754/1.754, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001286/0.001286, allocations: 61.89 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2396, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007771/0.2474, allocations: 4.967 MB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5983/0.8458, allocations: 148.4 MB / 0.9326 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007244/0.8465, allocations: 20.56 kB / 0.9326 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.8472, allocations: 154.4 kB / 0.9328 GB, free: 5.52 MB / 0.7325 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001704/0.8489, allocations: 475.8 kB / 0.9332 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.8508, allocations: 0.7782 MB / 0.934 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.8522, allocations: 1.566 MB / 0.9355 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.8533, allocations: 1.019 MB / 0.9365 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8544, allocations: 0.6807 MB / 0.9372 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/0.8552, allocations: 0.7239 MB / 0.9379 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.8554, allocations: 172.2 kB / 0.9381 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.8563, allocations: 442.5 kB / 0.9385 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.8566, allocations: 415.2 kB / 0.9389 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.8573, allocations: 0.7706 MB / 0.9396 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.8596, allocations: 2.041 MB / 0.9416 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8596, allocations: 0 / 0.9416 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8596, allocations: 3.75 kB / 0.9416 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.8596, allocations: 2.625 kB / 0.9416 GB, free: 5.09 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003233/0.8629, allocations: 1.756 MB / 0.9433 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.8629, allocations: 8.625 kB / 0.9434 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.8639, allocations: 232 kB / 0.9436 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.8649, allocations: 0.8845 MB / 0.9444 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.865, allocations: 104.6 kB / 0.9445 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8652, allocations: 129.8 kB / 0.9447 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.8673, allocations: 1.392 MB / 0.946 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.8674, allocations: 0 / 0.946 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8675, allocations: 62.75 kB / 0.9461 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.8675, allocations: 32.81 kB / 0.9461 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.8699, allocations: 1.467 MB / 0.9475 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.8753, allocations: 3.582 MB / 0.951 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.8772, allocations: 0.9552 MB / 0.952 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007347/0.878, allocations: 395.9 kB / 0.9524 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.8781, allocations: 54.11 kB / 0.9524 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.8791, allocations: 0.5794 MB / 0.953 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 2.896e-06/0.8791, allocations: 1.781 kB / 0.953 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.003508/0.8826, allocations: 1.475 MB / 0.9544 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.8827, allocations: 192.2 kB / 0.9546 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.8837, allocations: 0.7445 MB / 0.9553 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.8838, allocations: 46.83 kB / 0.9554 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.8841, allocations: 0.5562 MB / 0.9559 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.8843, allocations: 344.9 kB / 0.9562 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.8847, allocations: 218.2 kB / 0.9564 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8848, allocations: 400.8 kB / 0.9568 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.8855, allocations: 360.2 kB / 0.9572 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.8862, allocations: 473.1 kB / 0.9576 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.8876, allocations: 0.8256 MB / 0.9584 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8876, allocations: 1.188 kB / 0.9584 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002285/0.8899, allocations: 1.12 MB / 0.9595 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8899, allocations: 5.031 kB / 0.9595 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.8899, allocations: 2.312 kB / 0.9595 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.8905, allocations: 86.19 kB / 0.9596 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.8914, allocations: 224.4 kB / 0.9598 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.8933, allocations: 1.643 MB / 0.9614 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.8942, allocations: 104.5 kB / 0.9615 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.8943, allocations: 45.98 kB / 0.9616 GB, free: 15.36 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 (125): * Single equations (assignments): 124 * 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.0006703/0.895, allocations: 318.8 kB / 0.9619 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.8952, allocations: 102.7 kB / 0.962 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.8981, allocations: 1.39 MB / 0.9633 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.8982, allocations: 11.69 kB / 0.9633 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8982, allocations: 6.984 kB / 0.9634 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.8982, allocations: 12.33 kB / 0.9634 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.902, allocations: 2.544 MB / 0.9658 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9021, allocations: 1.125 kB / 0.9659 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.9028, allocations: 192.8 kB / 0.966 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.9033, allocations: 80.55 kB / 0.9661 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.9033, allocations: 28.44 kB / 0.9661 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.9051, allocations: 1.672 MB / 0.9678 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9051, allocations: 0 / 0.9678 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.9073, allocations: 1.166 MB / 0.9689 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.9077, allocations: 314.6 kB / 0.9692 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.9079, allocations: 38.89 kB / 0.9692 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.9086, allocations: 62.81 kB / 0.9693 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.9087, allocations: 77.2 kB / 0.9694 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.9088, allocations: 37.89 kB / 0.9694 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006792/0.9095, allocations: 0.5592 MB / 0.97 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9095, allocations: 0 / 0.97 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009978/0.9105, allocations: 379 kB / 0.9703 GB, free: 12.66 MB / 0.7481 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.001118/0.9116, allocations: 0.5683 MB / 0.9709 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.9144, allocations: 1.297 MB / 0.9721 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.9144, allocations: 0 / 0.9721 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.9153, allocations: 0.612 MB / 0.9727 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.9166, allocations: 306.1 kB / 0.973 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.9208, allocations: 2.966 MB / 0.9759 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.9215, allocations: 1.16 MB / 0.9771 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9225, allocations: 294 kB / 0.9773 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9228, allocations: 134.1 kB / 0.9775 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/0.9228, allocations: 4 kB / 0.9775 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.02702/0.9499, allocations: 17.32 MB / 0.9944 GB, free: 3.586 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)