Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.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/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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008552, 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.0009909/0.0009912, 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.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4607/0.4607, allocations: 55.01 MB / 325.4 MB, free: 0.7188 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.0006963/0.0006968, allocations: 12 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4421, allocations: 60.72 MB / 457.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004505/0.4466, allocations: 3.351 MB / 460.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.6343, allocations: 136.4 MB / 0.5831 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.6353, allocations: 8 kB / 0.5831 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.6358, allocations: 91.27 kB / 0.5832 GB, free: 11.39 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.001336/0.6371, allocations: 346.9 kB / 0.5835 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.6388, allocations: 0.5746 MB / 0.5841 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.64, allocations: 0.9377 MB / 0.585 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.6408, allocations: 432.3 kB / 0.5854 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.6413, allocations: 274.7 kB / 0.5857 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.6417, allocations: 294.5 kB / 0.586 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.6417, allocations: 16 kB / 0.586 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007261/0.6425, allocations: 299.7 kB / 0.5863 GB, free: 8.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.6427, allocations: 147.9 kB / 0.5864 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.6428, allocations: 185.1 kB / 0.5866 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.6439, allocations: 0.9664 MB / 0.5875 GB, free: 6.961 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.644, allocations: 3.938 kB / 0.5875 GB, free: 6.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.644, allocations: 0 / 0.5875 GB, free: 6.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.644, allocations: 0 / 0.5875 GB, free: 6.957 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001894/0.6459, allocations: 1.053 MB / 0.5886 GB, free: 5.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.646, allocations: 12.03 kB / 0.5886 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.6478, allocations: 305.2 kB / 0.5889 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.6487, allocations: 0.6058 MB / 0.5894 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.6488, allocations: 61.94 kB / 0.5895 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6489, allocations: 72 kB / 0.5896 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.6505, allocations: 0.8448 MB / 0.5904 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.6506, allocations: 13.66 kB / 0.5904 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.6507, allocations: 32 kB / 0.5904 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.6507, allocations: 16 kB / 0.5905 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.6526, allocations: 1.093 MB / 0.5915 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.6567, allocations: 2.335 MB / 0.5938 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.6585, allocations: 0.8054 MB / 0.5946 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/0.6592, allocations: 310.4 kB / 0.5949 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.6599, allocations: 482.1 kB / 0.5953 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/0.6609, allocations: 466.6 kB / 0.5958 GB, free: 14.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.845e-06/0.6609, allocations: 0 / 0.5958 GB, free: 14.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.003371/0.6643, allocations: 1.156 MB / 0.5969 GB, free: 13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.6644, allocations: 116.4 kB / 0.597 GB, free: 12.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.6651, allocations: 0.4911 MB / 0.5975 GB, free: 12.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.6652, allocations: 37.7 kB / 0.5975 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.6655, allocations: 336.3 kB / 0.5979 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6658, allocations: 228.7 kB / 0.5981 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.6658, allocations: 16 kB / 0.5981 GB, free: 11.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.666, allocations: 370.7 kB / 0.5985 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.6666, allocations: 249.1 kB / 0.5987 GB, free: 11.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.6673, allocations: 320.2 kB / 0.599 GB, free: 10.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.668, allocations: 291.1 kB / 0.5993 GB, free: 10.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.668, allocations: 3.938 kB / 0.5993 GB, free: 10.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002065/0.67, allocations: 0.759 MB / 0.6 GB, free: 9.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.6701, allocations: 4 kB / 0.6 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6701, allocations: 4.5 kB / 0.6 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.6707, allocations: 80.81 kB / 0.6001 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.6714, allocations: 151.8 kB / 0.6003 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.6739, allocations: 1.537 MB / 0.6018 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.6746, allocations: 71.41 kB / 0.6018 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.6747, allocations: 33.59 kB / 0.6019 GB, free: 7.727 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (73): * Single equations (assignments): 72 * 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.000577/0.6753, allocations: 241.7 kB / 0.6021 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.6754, allocations: 67.25 kB / 0.6021 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.6782, allocations: 1.018 MB / 0.6031 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.6782, allocations: 8 kB / 0.6032 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6782, allocations: 0 / 0.6032 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6782, allocations: 3.984 kB / 0.6032 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.6795, allocations: 0.7965 MB / 0.6039 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6795, allocations: 0 / 0.6039 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.6802, allocations: 147.8 kB / 0.6041 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.6806, allocations: 84.72 kB / 0.6042 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.6807, allocations: 23.98 kB / 0.6042 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.6825, allocations: 1.554 MB / 0.6057 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6825, allocations: 4.062 kB / 0.6057 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.6845, allocations: 0.848 MB / 0.6065 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.685, allocations: 256 kB / 0.6068 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.6851, allocations: 17.06 kB / 0.6068 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.6856, allocations: 71.88 kB / 0.6069 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.6857, allocations: 60.47 kB / 0.6069 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.6858, allocations: 31.92 kB / 0.6069 GB, free: 2.277 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004844/0.6863, allocations: 366.8 kB / 0.6073 GB, free: 1.922 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6863, allocations: 0 / 0.6073 GB, free: 1.922 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008517/0.6871, allocations: 279.2 kB / 0.6076 GB, free: 1.648 MB / 478.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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.001424/0.6886, allocations: 0.5765 MB / 0.6081 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.6905, allocations: 0.7619 MB / 0.6089 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.6906, allocations: 3.938 kB / 0.6089 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6916, allocations: 0.4948 MB / 0.6094 GB, free: 20 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6927, allocations: 201.9 kB / 0.6095 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.6967, allocations: 1.939 MB / 0.6114 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.6974, allocations: 0.9726 MB / 0.6124 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009661/0.6983, allocations: 228.3 kB / 0.6126 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.6986, allocations: 91.38 kB / 0.6127 GB, free: 12.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6986, allocations: 4 kB / 0.6127 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Templates: time 0.02152/0.7201, allocations: 11.55 MB / 0.624 GB, free: 1.117 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: