Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007596/0.0007596, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004793/0.004793, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.575/1.575, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005218/0.0005218, allocations: 12.81 kB / 0.6743 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005288/0.242, allocations: 4.072 MB / 0.7919 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7158/0.9579, allocations: 146.4 MB / 0.9348 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.9588, allocations: 21 kB / 0.9349 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.9594, allocations: 143.8 kB / 0.935 GB, free: 1.477 MB / 0.7169 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.001823/0.9612, allocations: 377.8 kB / 0.9354 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.9637, allocations: 0.6917 MB / 0.936 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.9653, allocations: 1.218 MB / 0.9372 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.9667, allocations: 0.8363 MB / 0.938 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.9674, allocations: 353.8 kB / 0.9384 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.9681, allocations: 386.2 kB / 0.9388 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.9683, allocations: 25.78 kB / 0.9388 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009998/0.9693, allocations: 299.1 kB / 0.9391 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.9696, allocations: 195.4 kB / 0.9392 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.9705, allocations: 0.4909 MB / 0.9397 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.9729, allocations: 1.584 MB / 0.9413 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.973, allocations: 1.062 kB / 0.9413 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/0.973, allocations: 0 / 0.9413 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.484e-05/0.9731, allocations: 0 / 0.9413 GB, free: 16.76 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003968/0.977, allocations: 1.302 MB / 0.9425 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/0.9771, allocations: 9.188 kB / 0.9426 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.9787, allocations: 217.8 kB / 0.9428 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.9804, allocations: 0.802 MB / 0.9435 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.9805, allocations: 79.75 kB / 0.9436 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.9807, allocations: 108.2 kB / 0.9437 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.9836, allocations: 1.12 MB / 0.9448 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.9836, allocations: 5.281 kB / 0.9448 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.9838, allocations: 48.95 kB / 0.9449 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.9839, allocations: 26.84 kB / 0.9449 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/0.9873, allocations: 1.23 MB / 0.9461 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006712/0.994, allocations: 3.006 MB / 0.949 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.996, allocations: 0.7823 MB / 0.9498 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.9967, allocations: 300.2 kB / 0.9501 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.9968, allocations: 38.16 kB / 0.9501 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.998, allocations: 453.7 kB / 0.9506 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 5.02e-06/0.998, allocations: 0 / 0.9506 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.004161/1.002, allocations: 1.149 MB / 0.9517 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.002, allocations: 192.8 kB / 0.9519 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.003, allocations: 0.6691 MB / 0.9525 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/1.003, allocations: 40.8 kB / 0.9526 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/1.004, allocations: 491.9 kB / 0.953 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/1.004, allocations: 263.9 kB / 0.9533 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/1.004, allocations: 67.25 kB / 0.9533 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.004, allocations: 390.3 kB / 0.9537 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/1.005, allocations: 260.8 kB / 0.954 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/1.006, allocations: 351.9 kB / 0.9543 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.007, allocations: 0.6092 MB / 0.9549 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.007, allocations: 5 kB / 0.9549 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001909/1.009, allocations: 0.8443 MB / 0.9557 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.009, allocations: 12.36 kB / 0.9557 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.009, allocations: 0 / 0.9557 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/1.009, allocations: 82.86 kB / 0.9558 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.01, allocations: 164.2 kB / 0.956 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/1.012, allocations: 1.511 MB / 0.9574 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/1.013, allocations: 93.58 kB / 0.9575 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/1.013, allocations: 41.41 kB / 0.9576 GB, free: 11.34 MB / 0.7325 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 (92): * Single equations (assignments): 91 * 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.0006132/1.013, allocations: 285.6 kB / 0.9578 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/1.014, allocations: 86.66 kB / 0.9579 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.016, allocations: 1.037 MB / 0.9589 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.016, allocations: 8.906 kB / 0.9589 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.016, allocations: 1.219 kB / 0.9589 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.016, allocations: 4.453 kB / 0.959 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/1.018, allocations: 0.9807 MB / 0.9599 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.018, allocations: 0 / 0.9599 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/1.018, allocations: 153.4 kB / 0.9601 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/1.019, allocations: 81.95 kB / 0.9601 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/1.019, allocations: 27.41 kB / 0.9602 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.021, allocations: 1.545 MB / 0.9617 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.021, allocations: 1.094 kB / 0.9617 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.023, allocations: 0.892 MB / 0.9625 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/1.023, allocations: 282.4 kB / 0.9628 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.024, allocations: 20.44 kB / 0.9628 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/1.024, allocations: 72.19 kB / 0.9629 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.024, allocations: 59.98 kB / 0.963 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/1.025, allocations: 31.55 kB / 0.963 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007651/1.025, allocations: 484.9 kB / 0.9634 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.025, allocations: 5.469 kB / 0.9635 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001163/1.027, allocations: 324.8 kB / 0.9638 GB, free: 8.91 MB / 0.7325 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001411/1.028, allocations: 0.5618 MB / 0.9643 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.03, allocations: 0.8124 MB / 0.9651 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.03, allocations: 1.594 kB / 0.9651 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009514/1.031, allocations: 0.5001 MB / 0.9656 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.032, allocations: 270.3 kB / 0.9659 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.037, allocations: 2.529 MB / 0.9683 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/1.038, allocations: 1.083 MB / 0.9694 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009949/1.039, allocations: 261.5 kB / 0.9696 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/1.039, allocations: 96.98 kB / 0.9697 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/1.039, allocations: 4 kB / 0.9697 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of Templates: time 0.02384/1.063, allocations: 13.48 MB / 0.9829 GB, free: 15.04 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: