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.008561/0.008567, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.00172/0.00172, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4236/0.4236, allocations: 54.94 MB / 324.8 MB, free: 24 kB / 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.001465/0.001465, allocations: 66.56 kB / 456.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 59.59 MB / 0.5038 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.004197/0.1512, allocations: 1.716 MB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.153, allocations: 1.154 MB / 0.5066 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1531, allocations: 1.375 kB / 0.5066 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1533, allocations: 23.91 kB / 0.5066 GB, free: 7.57 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.0002356/0.1536, allocations: 54.7 kB / 0.5067 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.154, allocations: 123.2 kB / 0.5068 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1543, allocations: 244.4 kB / 0.507 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1545, allocations: 26.88 kB / 0.507 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1546, allocations: 83.5 kB / 0.5071 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1549, allocations: 94.95 kB / 0.5072 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.155, allocations: 16.44 kB / 0.5072 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1553, allocations: 109.5 kB / 0.5073 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1554, allocations: 86.84 kB / 0.5074 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1556, allocations: 110.8 kB / 0.5075 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.1561, allocations: 315.4 kB / 0.5078 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1561, allocations: 3.984 kB / 0.5078 GB, free: 6.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1561, allocations: 0 / 0.5078 GB, free: 6.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1561, allocations: 0 / 0.5078 GB, free: 6.777 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.0008236/0.1569, allocations: 0.5401 MB / 0.5083 GB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.157, allocations: 12.03 kB / 0.5084 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.1571, allocations: 32.55 kB / 0.5084 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1573, allocations: 278.2 kB / 0.5087 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1574, allocations: 12 kB / 0.5087 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.1574, allocations: 16 kB / 0.5087 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1577, allocations: 207 kB / 0.5089 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1577, allocations: 0 / 0.5089 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1577, allocations: 12 kB / 0.5089 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1577, allocations: 7.984 kB / 0.5089 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006625/0.1584, allocations: 0.7451 MB / 0.5096 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.1592, allocations: 0.5821 MB / 0.5102 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1596, allocations: 328 kB / 0.5105 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1597, allocations: 113.4 kB / 0.5106 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.1603, allocations: 457.4 kB / 0.511 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.1606, allocations: 183 kB / 0.5112 GB, free: 3.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.1606, allocations: 0 / 0.5112 GB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0005942/0.1612, allocations: 396.3 kB / 0.5116 GB, free: 2.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1613, allocations: 93.11 kB / 0.5117 GB, free: 2.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1615, allocations: 301 kB / 0.512 GB, free: 2.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1615, allocations: 33.7 kB / 0.512 GB, free: 2.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.1616, allocations: 129 kB / 0.5121 GB, free: 2.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.1617, allocations: 126 kB / 0.5123 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.1618, allocations: 69.59 kB / 0.5123 GB, free: 1.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.1618, allocations: 334.8 kB / 0.5126 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.162, allocations: 79.95 kB / 0.5127 GB, free: 1.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1621, allocations: 126.7 kB / 0.5128 GB, free: 1.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1624, allocations: 228.8 kB / 0.5131 GB, free: 1.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1624, allocations: 0 / 0.5131 GB, free: 1.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003559/0.1628, allocations: 289.1 kB / 0.5133 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1628, allocations: 7.938 kB / 0.5133 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1628, allocations: 0 / 0.5133 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1628, allocations: 4 kB / 0.5133 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.163, allocations: 59.91 kB / 0.5134 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.163, allocations: 4 kB / 0.5134 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.1631, allocations: 27.8 kB / 0.5134 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.1632, allocations: 16 kB / 0.5134 GB, free: 0.6875 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.0001182/0.1633, allocations: 161.7 kB / 0.5136 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1633, allocations: 35.56 kB / 0.5136 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.1638, allocations: 348.3 kB / 0.514 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1638, allocations: 7.984 kB / 0.514 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1638, allocations: 0 / 0.514 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1639, allocations: 0 / 0.514 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.1642, allocations: 333.3 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1642, allocations: 0 / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1644, allocations: 63.91 kB / 0.5143 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1644, allocations: 7.922 kB / 0.5144 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1644, allocations: 8 kB / 0.5144 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1644, allocations: 8 kB / 0.5144 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1644, allocations: 0 / 0.5144 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.1649, allocations: 329 kB / 0.5147 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1651, allocations: 148.6 kB / 0.5148 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.1651, allocations: 11.94 kB / 0.5148 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1652, allocations: 7.984 kB / 0.5148 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.1653, allocations: 27.97 kB / 0.5149 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1653, allocations: 16 kB / 0.5149 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.1655, allocations: 236.4 kB / 0.5151 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1655, allocations: 0 / 0.5151 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.1659, allocations: 75.89 kB / 0.5152 GB, free: 14.78 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.001014/0.1669, allocations: 420.4 kB / 0.5156 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1673, allocations: 251.6 kB / 0.5158 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1673, allocations: 0 / 0.5158 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1675, allocations: 135.9 kB / 0.516 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1679, allocations: 48.34 kB / 0.516 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.1688, allocations: 0.5158 MB / 0.5165 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1691, allocations: 0.765 MB / 0.5173 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.1695, allocations: 150.8 kB / 0.5174 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.1695, allocations: 47.41 kB / 0.5174 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1696, allocations: 0 / 0.5174 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Templates: time 0.007209/0.1768, allocations: 3.226 MB / 0.5206 GB, free: 9.34 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)