Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00678/0.006779, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002068/0.002068, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4847/0.4847, allocations: 54.94 MB / 324.8 MB, free: 15.93 MB / 270.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.001526/0.001526, allocations: 70.19 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1761, allocations: 59.6 MB / 0.5037 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003519/0.1797, allocations: 1.715 MB / 0.5054 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1815, allocations: 1.143 MB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.1816, allocations: 1.375 kB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1819, allocations: 31.91 kB / 0.5066 GB, free: 7.285 MB / 382.1 MB [/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.0002701/0.1822, allocations: 54.7 kB / 0.5066 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1826, allocations: 118.2 kB / 0.5067 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1829, allocations: 245.8 kB / 0.5069 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1831, allocations: 26.86 kB / 0.507 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1832, allocations: 87.56 kB / 0.5071 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1835, allocations: 87.34 kB / 0.5071 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.1835, allocations: 16.5 kB / 0.5072 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1838, allocations: 117.9 kB / 0.5073 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1839, allocations: 82 kB / 0.5073 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1841, allocations: 104.1 kB / 0.5074 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1846, allocations: 318 kB / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1846, allocations: 0 / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1846, allocations: 1.625 kB / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1846, allocations: 0 / 0.5078 GB, free: 6.504 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000913/0.1855, allocations: 0.552 MB / 0.5083 GB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1856, allocations: 8.781 kB / 0.5083 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.1857, allocations: 30.72 kB / 0.5083 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.186, allocations: 270 kB / 0.5086 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1861, allocations: 14.31 kB / 0.5086 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1861, allocations: 16.47 kB / 0.5086 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1865, allocations: 224.6 kB / 0.5088 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1865, allocations: 0 / 0.5088 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1866, allocations: 5.281 kB / 0.5088 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1866, allocations: 4.594 kB / 0.5088 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.1874, allocations: 0.7437 MB / 0.5096 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.1883, allocations: 0.5937 MB / 0.5101 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.1888, allocations: 324 kB / 0.5105 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.189, allocations: 113.4 kB / 0.5106 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.1896, allocations: 453.4 kB / 0.511 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.19, allocations: 187 kB / 0.5112 GB, free: 3.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.19, allocations: 0 / 0.5112 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0006678/0.1907, allocations: 392.4 kB / 0.5115 GB, free: 2.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.1908, allocations: 81.11 kB / 0.5116 GB, free: 2.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1911, allocations: 309 kB / 0.5119 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1911, allocations: 33.7 kB / 0.512 GB, free: 2.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.1912, allocations: 129 kB / 0.5121 GB, free: 2.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1913, allocations: 122 kB / 0.5122 GB, free: 2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.1914, allocations: 73.59 kB / 0.5123 GB, free: 1.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1916, allocations: 338.8 kB / 0.5126 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1918, allocations: 83.89 kB / 0.5127 GB, free: 1.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1919, allocations: 130.6 kB / 0.5128 GB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.1922, allocations: 216.9 kB / 0.513 GB, free: 1.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1922, allocations: 0 / 0.513 GB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003806/0.1926, allocations: 289.1 kB / 0.5133 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1926, allocations: 7.938 kB / 0.5133 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1926, allocations: 4.031 kB / 0.5133 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.1927, allocations: 4 kB / 0.5133 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1929, allocations: 67.89 kB / 0.5134 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1929, allocations: 4 kB / 0.5134 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.193, allocations: 15.84 kB / 0.5134 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1931, allocations: 12 kB / 0.5134 GB, free: 0.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.1932, allocations: 165.7 kB / 0.5135 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.1933, allocations: 31.56 kB / 0.5136 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005468/0.1938, allocations: 348.3 kB / 0.5139 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1939, allocations: 4 kB / 0.5139 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1939, allocations: 0 / 0.5139 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1939, allocations: 0 / 0.5139 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1943, allocations: 329.3 kB / 0.5142 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1943, allocations: 7.984 kB / 0.5142 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1945, allocations: 63.91 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.1946, allocations: 11.92 kB / 0.5143 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1946, allocations: 8 kB / 0.5143 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1946, allocations: 3.938 kB / 0.5143 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1946, allocations: 0 / 0.5143 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.1952, allocations: 337 kB / 0.5146 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1954, allocations: 144.6 kB / 0.5148 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1954, allocations: 15.94 kB / 0.5148 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.1955, allocations: 11.98 kB / 0.5148 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.1956, allocations: 27.91 kB / 0.5148 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1956, allocations: 12 kB / 0.5148 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.1959, allocations: 236.4 kB / 0.5151 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1959, allocations: 0 / 0.5151 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1963, allocations: 79.89 kB / 0.5151 GB, free: 14.83 MB / 398.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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.1975, allocations: 404.2 kB / 0.5155 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.198, allocations: 251.7 kB / 0.5158 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.198, allocations: 4 kB / 0.5158 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1982, allocations: 131.8 kB / 0.5159 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1986, allocations: 60.25 kB / 0.5159 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1996, allocations: 0.5159 MB / 0.5165 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.2001, allocations: 0.7611 MB / 0.5172 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000344/0.2005, allocations: 150.8 kB / 0.5173 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2006, allocations: 47.41 kB / 0.5174 GB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2006, allocations: 4 kB / 0.5174 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Templates: time 0.008195/0.2088, allocations: 3.247 MB / 0.5206 GB, free: 9.375 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)