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.00157/0.00157, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001462/0.001462, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.384/1.384, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.002689/0.002689, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2103, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.3483/0.5586, allocations: 4.977 MB / 0.7896 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.7201, allocations: 150.6 MB / 0.9367 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.722, allocations: 27.88 kB / 0.9368 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.7231, allocations: 182.2 kB / 0.9369 GB, free: 14.21 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.002604/0.7258, allocations: 0.5421 MB / 0.9375 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.7282, allocations: 0.862 MB / 0.9383 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.7303, allocations: 1.585 MB / 0.9399 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.7317, allocations: 1.005 MB / 0.9408 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009934/0.7327, allocations: 0.6771 MB / 0.9415 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.7335, allocations: 0.7234 MB / 0.9422 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.7337, allocations: 168 kB / 0.9424 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007954/0.7345, allocations: 463.6 kB / 0.9428 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.7348, allocations: 406.6 kB / 0.9432 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.7355, allocations: 0.7811 MB / 0.944 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.7375, allocations: 2.089 MB / 0.946 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7376, allocations: 0 / 0.946 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7376, allocations: 0 / 0.946 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.7376, allocations: 0 / 0.946 GB, free: 4.895 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.002862/0.7405, allocations: 1.754 MB / 0.9477 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7405, allocations: 12.02 kB / 0.9477 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.7415, allocations: 234.8 kB / 0.9479 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7427, allocations: 0.9 MB / 0.9488 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.7428, allocations: 102.8 kB / 0.9489 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.743, allocations: 132 kB / 0.949 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.7452, allocations: 1.391 MB / 0.9504 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.7452, allocations: 0 / 0.9504 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.7453, allocations: 56 kB / 0.9505 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.7454, allocations: 43.98 kB / 0.9505 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.7478, allocations: 1.47 MB / 0.9519 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/0.753, allocations: 3.52 MB / 0.9554 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.7547, allocations: 0.9573 MB / 0.9563 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.7554, allocations: 395.7 kB / 0.9567 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.7555, allocations: 48.98 kB / 0.9567 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7565, allocations: 0.5748 MB / 0.9573 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.7565, allocations: 0 / 0.9573 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.003677/0.7602, allocations: 1.477 MB / 0.9587 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.7604, allocations: 196.9 kB / 0.9589 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.7613, allocations: 0.7393 MB / 0.9596 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.7614, allocations: 51.09 kB / 0.9597 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.7618, allocations: 0.5504 MB / 0.9602 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.762, allocations: 343 kB / 0.9606 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.7624, allocations: 218.7 kB / 0.9608 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7626, allocations: 398.7 kB / 0.9611 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.7632, allocations: 362.4 kB / 0.9615 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.7641, allocations: 470.2 kB / 0.9619 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.7656, allocations: 0.8324 MB / 0.9628 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7656, allocations: 0 / 0.9628 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002478/0.7681, allocations: 1.118 MB / 0.9638 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7681, allocations: 8 kB / 0.9639 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.7681, allocations: 2.266 kB / 0.9639 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.7688, allocations: 80.88 kB / 0.9639 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.7697, allocations: 223.7 kB / 0.9641 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.7719, allocations: 1.654 MB / 0.9658 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.7728, allocations: 103.8 kB / 0.9659 GB, free: 4 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7729, allocations: 53.52 kB / 0.9659 GB, free: 15.95 MB / 0.7637 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.0005397/0.7734, allocations: 309.6 kB / 0.9662 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.7736, allocations: 102.8 kB / 0.9663 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.7767, allocations: 1.325 MB / 0.9676 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.7767, allocations: 3.984 kB / 0.9676 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7767, allocations: 4 kB / 0.9676 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.7772, allocations: 323.4 kB / 0.9679 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7773, allocations: 19.94 kB / 0.9679 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.778, allocations: 57.08 kB / 0.968 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.7782, allocations: 76.88 kB / 0.9681 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002395/0.7806, allocations: 1.123 MB / 0.9692 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002742/0.7833, allocations: 1.691 MB / 0.9708 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006919/0.784, allocations: 439.8 kB / 0.9712 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007392/0.7848, allocations: 0.5576 MB / 0.9718 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of Backend: time 3.1e-07/0.7848, allocations: 0.8438 kB / 0.9718 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003375/0.7882, allocations: 1.321 MB / 0.9731 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of SimCode: time 0.00396/0.7921, allocations: 2.554 MB / 0.9756 GB, free: 6.246 MB / 0.7637 GB Notification: Performance of Templates: time 0.03181/0.8239, allocations: 18.87 MB / 0.994 GB, free: 3.609 MB / 0.7794 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)