Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001005/0.001005, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008845/0.0008849, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4416/0.4416, allocations: 55.02 MB / 325.4 MB, free: 0.6758 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006052/0.0006055, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5346, allocations: 60.72 MB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007047/0.5417, allocations: 4.144 MB / 461.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2187/0.7604, allocations: 136.7 MB / 0.5842 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.7619, allocations: 16 kB / 0.5842 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.7625, allocations: 107.1 kB / 0.5843 GB, free: 10.23 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001815/0.7643, allocations: 422.3 kB / 0.5847 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.7666, allocations: 0.6844 MB / 0.5854 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.7685, allocations: 1.287 MB / 0.5867 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.7697, allocations: 0.8569 MB / 0.5875 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.7705, allocations: 417.9 kB / 0.5879 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.7711, allocations: 445.4 kB / 0.5883 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.7712, allocations: 28 kB / 0.5883 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009276/0.7721, allocations: 308.6 kB / 0.5886 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.7723, allocations: 206.9 kB / 0.5888 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.7726, allocations: 264.9 kB / 0.5891 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.7742, allocations: 1.566 MB / 0.5906 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7742, allocations: 0 / 0.5906 GB, free: 3.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.7742, allocations: 7.984 kB / 0.5906 GB, free: 3.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.7743, allocations: 0 / 0.5906 GB, free: 3.766 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002499/0.7768, allocations: 1.445 MB / 0.592 GB, free: 2.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.7768, allocations: 12.03 kB / 0.592 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.7788, allocations: 372.5 kB / 0.5924 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.7801, allocations: 0.8031 MB / 0.5932 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.7803, allocations: 133.5 kB / 0.5933 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.7805, allocations: 136 kB / 0.5934 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.7834, allocations: 1.434 MB / 0.5948 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.7835, allocations: 0 / 0.5948 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.7836, allocations: 64 kB / 0.5949 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.7836, allocations: 32 kB / 0.5949 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.7863, allocations: 1.505 MB / 0.5964 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006433/0.7927, allocations: 3.749 MB / 0.6001 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.7948, allocations: 0.9881 MB / 0.601 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/0.7956, allocations: 404.4 kB / 0.6014 GB, free: 8.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/0.7962, allocations: 486.6 kB / 0.6019 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.7974, allocations: 0.5991 MB / 0.6025 GB, free: 7.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=93): time 2.625e-06/0.7975, allocations: 0.8438 kB / 0.6025 GB, free: 7.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.003708/0.8012, allocations: 1.45 MB / 0.6039 GB, free: 5.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8013, allocations: 115.8 kB / 0.604 GB, free: 5.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.8025, allocations: 0.6725 MB / 0.6046 GB, free: 5.012 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.8026, allocations: 45.7 kB / 0.6047 GB, free: 4.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/0.8032, allocations: 0.5504 MB / 0.6052 GB, free: 4.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.8034, allocations: 303.5 kB / 0.6055 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.8035, allocations: 19.94 kB / 0.6055 GB, free: 4.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8037, allocations: 394.8 kB / 0.6059 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.8045, allocations: 338.7 kB / 0.6062 GB, free: 3.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.8053, allocations: 428.8 kB / 0.6066 GB, free: 2.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.8063, allocations: 390.9 kB / 0.607 GB, free: 2.535 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8063, allocations: 0 / 0.607 GB, free: 2.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002372/0.8087, allocations: 1.028 MB / 0.608 GB, free: 1.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.8087, allocations: 8 kB / 0.608 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.8088, allocations: 8.078 kB / 0.608 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/0.8093, allocations: 76.72 kB / 0.6081 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/0.8103, allocations: 207.7 kB / 0.6083 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.8128, allocations: 1.537 MB / 0.6098 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009052/0.8137, allocations: 103.1 kB / 0.6099 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.8138, allocations: 39.95 kB / 0.6099 GB, free: 15.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008042/0.8146, allocations: 306.4 kB / 0.6102 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.8149, allocations: 90.88 kB / 0.6103 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.8186, allocations: 1.328 MB / 0.6116 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.8186, allocations: 11.95 kB / 0.6116 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8186, allocations: 0 / 0.6116 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.8186, allocations: 7.984 kB / 0.6116 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005357/0.824, allocations: 2.474 MB / 0.6141 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.8241, allocations: 0 / 0.6141 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009029/0.825, allocations: 191.7 kB / 0.6142 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/0.8255, allocations: 88.72 kB / 0.6143 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.8256, allocations: 27.97 kB / 0.6144 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.8282, allocations: 1.55 MB / 0.6159 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8282, allocations: 7.5 kB / 0.6159 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.831, allocations: 1.144 MB / 0.617 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.8318, allocations: 339.4 kB / 0.6173 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.832, allocations: 20 kB / 0.6173 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/0.833, allocations: 80.02 kB / 0.6174 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.8332, allocations: 68.89 kB / 0.6175 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.8333, allocations: 39.97 kB / 0.6175 GB, free: 7.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.8347, allocations: 0.4951 MB / 0.618 GB, free: 6.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.8347, allocations: 0 / 0.618 GB, free: 6.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002102/0.8368, allocations: 394.5 kB / 0.6184 GB, free: 6.508 MB / 494.1 MB 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/0.8388, allocations: 0.5855 MB / 0.6189 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.8416, allocations: 0.988 MB / 0.6199 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.8417, allocations: 0 / 0.6199 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.8431, allocations: 0.5979 MB / 0.6205 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.8447, allocations: 219.1 kB / 0.6207 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.8513, allocations: 2.852 MB / 0.6235 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.8527, allocations: 1.141 MB / 0.6246 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001597/0.8543, allocations: 281.5 kB / 0.6249 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.8547, allocations: 115.4 kB / 0.625 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.8547, allocations: 0 / 0.625 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.03151/0.8863, allocations: 14.69 MB / 0.6393 GB, free: 1.32 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: