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.00465/0.00465, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00124/0.00124, allocations: 195.8 kB / 16.67 MB, free: 5.52 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.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2649/0.2649, allocations: 54.96 MB / 324.9 MB, free: 4.855 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.001448/0.001448, allocations: 73.34 kB / 456.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 59.6 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003594/0.1559, allocations: 1.719 MB / 0.5054 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1578, allocations: 1.149 MB / 0.5065 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.1578, allocations: 4 kB / 0.5065 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1581, allocations: 23.78 kB / 0.5066 GB, free: 4.156 MB / 398.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.0002677/0.1584, allocations: 55.7 kB / 0.5066 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1588, allocations: 123.7 kB / 0.5067 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1591, allocations: 233.6 kB / 0.5069 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1592, allocations: 29.05 kB / 0.507 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1593, allocations: 83.75 kB / 0.5071 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1595, allocations: 99.72 kB / 0.5071 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1596, allocations: 16 kB / 0.5072 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.1598, allocations: 123.9 kB / 0.5073 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1599, allocations: 83.69 kB / 0.5074 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.16, allocations: 103.3 kB / 0.5075 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.1605, allocations: 315 kB / 0.5078 GB, free: 2.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1605, allocations: 0 / 0.5078 GB, free: 2.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1605, allocations: 0 / 0.5078 GB, free: 2.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1605, allocations: 0 / 0.5078 GB, free: 2.914 MB / 398.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.00088/0.1614, allocations: 0.5529 MB / 0.5083 GB, free: 2.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1614, allocations: 12.03 kB / 0.5083 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.1615, allocations: 28.66 kB / 0.5083 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1618, allocations: 274.3 kB / 0.5086 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1619, allocations: 12 kB / 0.5086 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1619, allocations: 16 kB / 0.5086 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.1622, allocations: 211 kB / 0.5088 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1623, allocations: 4 kB / 0.5088 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1623, allocations: 4 kB / 0.5088 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1623, allocations: 8 kB / 0.5088 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.1631, allocations: 0.7451 MB / 0.5096 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1641, allocations: 0.5935 MB / 0.5102 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.1648, allocations: 325 kB / 0.5105 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.165, allocations: 113.5 kB / 0.5106 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007916/0.1658, allocations: 461.4 kB / 0.511 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.1663, allocations: 191 kB / 0.5112 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/0.1664, allocations: 0 / 0.5112 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.0007226/0.1671, allocations: 393 kB / 0.5116 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.1672, allocations: 81.11 kB / 0.5116 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1675, allocations: 305 kB / 0.5119 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1675, allocations: 33.7 kB / 0.512 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.1676, allocations: 121 kB / 0.5121 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.1677, allocations: 122.2 kB / 0.5122 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.1678, allocations: 69.69 kB / 0.5123 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.168, allocations: 338.8 kB / 0.5126 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1681, allocations: 83.95 kB / 0.5127 GB, free: 13.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1683, allocations: 114.7 kB / 0.5128 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.1686, allocations: 232.8 kB / 0.513 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1687, allocations: 0 / 0.513 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004305/0.1691, allocations: 289.1 kB / 0.5133 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1691, allocations: 7.938 kB / 0.5133 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1691, allocations: 0 / 0.5133 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1692, allocations: 4.031 kB / 0.5133 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1694, allocations: 63.91 kB / 0.5133 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1694, allocations: 3.938 kB / 0.5134 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.1695, allocations: 31.73 kB / 0.5134 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1695, allocations: 8 kB / 0.5134 GB, free: 12.8 MB / 414.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.0001836/0.1697, allocations: 165.7 kB / 0.5135 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.1698, allocations: 27.66 kB / 0.5136 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.1704, allocations: 348.3 kB / 0.5139 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1704, allocations: 7.984 kB / 0.5139 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1704, allocations: 0 / 0.5139 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1704, allocations: 0 / 0.5139 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1708, allocations: 349.1 kB / 0.5142 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1708, allocations: 0 / 0.5142 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1709, allocations: 67.91 kB / 0.5143 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.171, allocations: 7.938 kB / 0.5143 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.171, allocations: 11.98 kB / 0.5143 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.171, allocations: 0 / 0.5143 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.171, allocations: 0 / 0.5143 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.1715, allocations: 325.1 kB / 0.5146 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1716, allocations: 144.7 kB / 0.5148 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1717, allocations: 11.88 kB / 0.5148 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1718, allocations: 12 kB / 0.5148 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.1718, allocations: 27.95 kB / 0.5148 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.1719, allocations: 16 kB / 0.5148 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.1721, allocations: 232.4 kB / 0.5151 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.745e-06/0.1721, allocations: 0 / 0.5151 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1724, allocations: 79.83 kB / 0.5151 GB, free: 10.9 MB / 414.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.001009/0.1735, allocations: 415.6 kB / 0.5155 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.1739, allocations: 251.6 kB / 0.5158 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1739, allocations: 4 kB / 0.5158 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1741, allocations: 135.8 kB / 0.5159 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1745, allocations: 54.08 kB / 0.516 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1757, allocations: 0.512 MB / 0.5165 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.1762, allocations: 0.7618 MB / 0.5172 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.1765, allocations: 146.9 kB / 0.5173 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1766, allocations: 39.42 kB / 0.5174 GB, free: 8.723 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1766, allocations: 0 / 0.5174 GB, free: 8.723 MB / 414.1 MB Notification: Performance of Templates: time 0.009162/0.1858, allocations: 3.244 MB / 0.5206 GB, free: 5.523 MB / 414.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)