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.0009323/0.0009325, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001039/0.001039, allocations: 172.7 kB / 15.95 MB, free: 208 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.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4406/0.4406, allocations: 55.01 MB / 325.4 MB, free: 0.6328 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.0005314/0.0005314, allocations: 15.98 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4781, allocations: 60.72 MB / 457.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.002867/0.481, allocations: 1.41 MB / 458.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.4832, allocations: 1.075 MB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.4834, allocations: 2.875 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.4837, allocations: 19.12 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.4839, allocations: 46.66 kB / 459.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.4844, allocations: 102.6 kB / 460 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.4848, allocations: 206.5 kB / 460.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.485, allocations: 23.39 kB / 460.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.4851, allocations: 76.17 kB / 460.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.4854, allocations: 78.56 kB / 460.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.4855, allocations: 7.062 kB / 460.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.4858, allocations: 101.4 kB / 460.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.4859, allocations: 67.38 kB / 460.6 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.486, allocations: 58.39 kB / 460.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.4864, allocations: 214 kB / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.4864, allocations: 0 / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4865, allocations: 3.828 kB / 460.8 MB, free: 38.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4865, allocations: 6.219 kB / 460.8 MB, free: 38.03 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.0008377/0.4873, allocations: 0.4993 MB / 461.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.4874, allocations: 10.06 kB / 461.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.4875, allocations: 29.38 kB / 461.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.4879, allocations: 272.5 kB / 461.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.488, allocations: 10.28 kB / 461.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.4881, allocations: 17 kB / 461.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.4886, allocations: 203.9 kB / 461.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4887, allocations: 0 / 461.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.4887, allocations: 8.062 kB / 461.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4887, allocations: 3.438 kB / 461.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.4903, allocations: 0.7479 MB / 462.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.4919, allocations: 0.5973 MB / 463.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.4927, allocations: 314.7 kB / 463.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.493, allocations: 118.6 kB / 463.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/0.4939, allocations: 462.6 kB / 464.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005442/0.4945, allocations: 180.7 kB / 464.3 MB, free: 36.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 3.917e-06/0.4945, allocations: 2.531 kB / 464.3 MB, free: 36.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009102/0.4954, allocations: 378.3 kB / 464.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4955, allocations: 90.11 kB / 464.7 MB, free: 36.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.4959, allocations: 309.9 kB / 465 MB, free: 36.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.496, allocations: 34.02 kB / 465.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4961, allocations: 115.8 kB / 465.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4963, allocations: 124 kB / 465.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.4963, allocations: 10 kB / 465.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4965, allocations: 339 kB / 465.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4967, allocations: 84.94 kB / 465.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.497, allocations: 115.3 kB / 465.9 MB, free: 35.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4973, allocations: 112.2 kB / 466 MB, free: 35.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.4973, allocations: 3.953 kB / 466 MB, free: 35.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006542/0.498, allocations: 289.7 kB / 466.2 MB, free: 35.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.498, allocations: 6.469 kB / 466.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.498, allocations: 0.6562 kB / 466.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.4981, allocations: 3.219 kB / 466.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.4984, allocations: 63.83 kB / 466.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4984, allocations: 0 / 466.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4986, allocations: 30.98 kB / 466.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.4987, allocations: 17.05 kB / 466.4 MB, free: 35.5 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.4989, allocations: 161 kB / 466.5 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.4989, allocations: 30.7 kB / 466.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/0.4999, allocations: 411.8 kB / 467 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.5, allocations: 4.031 kB / 467 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5, allocations: 2.938 kB / 467 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5, allocations: 4.047 kB / 467 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.5004, allocations: 331.1 kB / 467.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5004, allocations: 0 / 467.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5007, allocations: 67.2 kB / 467.4 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.5007, allocations: 2.656 kB / 467.4 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.5008, allocations: 11.06 kB / 467.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5008, allocations: 0.7812 kB / 467.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5008, allocations: 3.719 kB / 467.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.5015, allocations: 338.6 kB / 467.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.5017, allocations: 150.3 kB / 467.9 MB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.5017, allocations: 10.73 kB / 467.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5019, allocations: 9.219 kB / 467.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.502, allocations: 28.14 kB / 467.9 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.502, allocations: 8.281 kB / 467.9 MB, free: 34.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.5023, allocations: 241.6 kB / 468.1 MB, free: 34.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5023, allocations: 0 / 468.1 MB, free: 34.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.5028, allocations: 78.22 kB / 468.2 MB, free: 34.47 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.5042, allocations: 415.9 kB / 468.6 MB, free: 34.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.5048, allocations: 233.7 kB / 468.9 MB, free: 34.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5049, allocations: 2.938 kB / 468.9 MB, free: 34.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.5051, allocations: 136.4 kB / 469 MB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.5056, allocations: 49.89 kB / 469 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5068, allocations: 0.6018 MB / 469.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.5071, allocations: 0.7612 MB / 470.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.5076, allocations: 152.7 kB / 470.5 MB, free: 33.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5077, allocations: 44.48 kB / 470.6 MB, free: 33.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5077, allocations: 4 kB / 470.6 MB, free: 33.13 MB / 382.1 MB Notification: Performance of Templates: time 0.009595/0.5173, allocations: 2.98 MB / 473.6 MB, free: 32.89 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: