Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 107.4 kB / 16.38 MB, free: 6.477 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.001446/0.001446, allocations: 192 kB / 17.31 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.337/1.337, 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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001654/0.001654, allocations: 71.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2193, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.3872/0.6065, allocations: 4.116 MB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.7785, allocations: 150.2 MB / 0.9355 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008098/0.7793, allocations: 11.94 kB / 0.9355 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.7799, allocations: 166.5 kB / 0.9357 GB, free: 15.52 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.001572/0.7815, allocations: 424 kB / 0.9361 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.7834, allocations: 0.7736 MB / 0.9368 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.7846, allocations: 1.168 MB / 0.938 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009128/0.7856, allocations: 0.5946 MB / 0.9386 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.7861, allocations: 426.5 kB / 0.939 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.7867, allocations: 446 kB / 0.9394 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.7868, allocations: 100 kB / 0.9395 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.7876, allocations: 387.7 kB / 0.9399 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.7879, allocations: 268.6 kB / 0.9401 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.7883, allocations: 493.4 kB / 0.9406 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7898, allocations: 1.405 MB / 0.942 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7899, allocations: 4 kB / 0.942 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7899, allocations: 0 / 0.942 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7899, allocations: 0 / 0.942 GB, free: 9.082 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002031/0.7919, allocations: 1.29 MB / 0.9432 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.792, allocations: 12.03 kB / 0.9432 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.7929, allocations: 175.5 kB / 0.9434 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7939, allocations: 0.7228 MB / 0.9441 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.794, allocations: 58 kB / 0.9442 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.7941, allocations: 72 kB / 0.9442 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.7954, allocations: 0.852 MB / 0.9451 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.7955, allocations: 0 / 0.9451 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.7956, allocations: 33.5 kB / 0.9451 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.7956, allocations: 20 kB / 0.9451 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.7972, allocations: 1.054 MB / 0.9461 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.8007, allocations: 2.317 MB / 0.9484 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.8021, allocations: 0.7928 MB / 0.9492 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.8025, allocations: 270.4 kB / 0.9494 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.8026, allocations: 36.58 kB / 0.9495 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.8034, allocations: 424.2 kB / 0.9499 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.8035, allocations: 0 / 0.9499 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002904/0.8064, allocations: 1.074 MB / 0.9509 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.8065, allocations: 192.6 kB / 0.9511 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.8072, allocations: 0.5539 MB / 0.9516 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.8072, allocations: 43.67 kB / 0.9517 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.8075, allocations: 368.3 kB / 0.952 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.8077, allocations: 240.5 kB / 0.9523 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.8079, allocations: 150.5 kB / 0.9524 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8081, allocations: 378.8 kB / 0.9528 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.8086, allocations: 236.2 kB / 0.953 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.8092, allocations: 326.8 kB / 0.9533 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8102, allocations: 0.5433 MB / 0.9538 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8102, allocations: 0 / 0.9538 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001866/0.8121, allocations: 0.7704 MB / 0.9546 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8121, allocations: 8.875 kB / 0.9546 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8121, allocations: 4 kB / 0.9546 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.8127, allocations: 84.77 kB / 0.9547 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.8134, allocations: 143.8 kB / 0.9548 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.8162, allocations: 1.631 MB / 0.9564 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.817, allocations: 82.28 kB / 0.9565 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.8171, allocations: 31.97 kB / 0.9565 GB, free: 9.617 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 (83): * Single equations (assignments): 82 * 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.0005071/0.8176, allocations: 245.7 kB / 0.9568 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.8178, allocations: 79.06 kB / 0.9568 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.82, allocations: 0.9345 MB / 0.9577 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.82, allocations: 7.969 kB / 0.9578 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.82, allocations: 0 / 0.9578 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.8204, allocations: 247.8 kB / 0.958 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8205, allocations: 24 kB / 0.958 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.821, allocations: 55.92 kB / 0.9581 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8212, allocations: 64.84 kB / 0.9581 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001839/0.823, allocations: 0.8694 MB / 0.959 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001992/0.825, allocations: 1.289 MB / 0.9602 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005358/0.8256, allocations: 326.2 kB / 0.9605 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005158/0.8261, allocations: 419.1 kB / 0.9609 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of Backend: time 5.41e-07/0.8261, allocations: 0 / 0.9609 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.8291, allocations: 1.131 MB / 0.962 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002827/0.8319, allocations: 1.936 MB / 0.9639 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of Templates: time 0.02332/0.8553, allocations: 14.48 MB / 0.9781 GB, free: 3.926 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)