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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.467/0.467, allocations: 54.95 MB / 324.7 MB, free: 15.96 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.002492/0.002492, allocations: 67.89 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1665, allocations: 59.6 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.2995/0.4661, allocations: 1.712 MB / 456.6 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.4679, allocations: 1.151 MB / 457.8 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.468, allocations: 5.469 kB / 457.8 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.4683, allocations: 20.72 kB / 457.8 MB, free: 38.71 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.0002361/0.4686, allocations: 60.14 kB / 457.9 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.4689, allocations: 116.7 kB / 458 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.4692, allocations: 236.2 kB / 458.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4693, allocations: 33.05 kB / 458.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4694, allocations: 81.53 kB / 458.3 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.4696, allocations: 93.33 kB / 458.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.4697, allocations: 20.09 kB / 458.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.4699, allocations: 115.4 kB / 458.6 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.47, allocations: 80.58 kB / 458.6 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4701, allocations: 106.1 kB / 458.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.4705, allocations: 306.4 kB / 459 MB, free: 38.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4705, allocations: 0.5625 kB / 459 MB, free: 38.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4705, allocations: 0.875 kB / 459 MB, free: 38.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.4705, allocations: 0 / 459 MB, free: 38.5 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.0008106/0.4713, allocations: 0.5514 MB / 459.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4714, allocations: 8.656 kB / 459.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.4715, allocations: 31.34 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.4718, allocations: 277.4 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4718, allocations: 15.09 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.4719, allocations: 19.03 kB / 459.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4722, allocations: 212.4 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4722, allocations: 3.75 kB / 460.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.4723, allocations: 6.156 kB / 460.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4723, allocations: 2.844 kB / 460.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.4731, allocations: 0.7489 MB / 460.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.474, allocations: 0.5863 MB / 461.5 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.4745, allocations: 322.4 kB / 461.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4747, allocations: 114.3 kB / 461.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.4752, allocations: 461.6 kB / 462.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/0.4756, allocations: 178.9 kB / 462.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.4756, allocations: 0 / 462.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0006745/0.4763, allocations: 394.3 kB / 462.9 MB, free: 36.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4764, allocations: 85.36 kB / 463 MB, free: 36.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.4766, allocations: 303.1 kB / 463.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4767, allocations: 37.58 kB / 463.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4768, allocations: 129 kB / 463.5 MB, free: 36.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.4768, allocations: 120 kB / 463.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.4769, allocations: 65.55 kB / 463.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.477, allocations: 338.7 kB / 464 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.4771, allocations: 84.59 kB / 464.1 MB, free: 35.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4773, allocations: 114.4 kB / 464.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.4776, allocations: 224.9 kB / 464.4 MB, free: 35.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4776, allocations: 0 / 464.4 MB, free: 35.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003931/0.478, allocations: 295.7 kB / 464.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.478, allocations: 7.906 kB / 464.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4781, allocations: 4.75 kB / 464.7 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4781, allocations: 0 / 464.7 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4783, allocations: 69.59 kB / 464.8 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4783, allocations: 2.844 kB / 464.8 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.4784, allocations: 26.81 kB / 464.8 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4785, allocations: 12.19 kB / 464.8 MB, free: 35.4 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.0001362/0.4786, allocations: 160.7 kB / 465 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.4786, allocations: 28.42 kB / 465 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.4792, allocations: 350.5 kB / 465.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4792, allocations: 5.844 kB / 465.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.4792, allocations: 5.812 kB / 465.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4793, allocations: 0 / 465.3 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.4796, allocations: 334.8 kB / 465.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4796, allocations: 0 / 465.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4798, allocations: 66.19 kB / 465.7 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4798, allocations: 3.844 kB / 465.7 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.4798, allocations: 12.44 kB / 465.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4798, allocations: 4 kB / 465.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4798, allocations: 1.359 kB / 465.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.4803, allocations: 329.2 kB / 466.1 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4804, allocations: 149.8 kB / 466.2 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.4805, allocations: 7.938 kB / 466.2 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.709e-05/0.4805, allocations: 12.31 kB / 466.2 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4806, allocations: 25.34 kB / 466.3 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.4807, allocations: 20.08 kB / 466.3 MB, free: 34.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.4809, allocations: 242.2 kB / 466.5 MB, free: 34.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4809, allocations: 0 / 466.5 MB, free: 34.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.4812, allocations: 69.66 kB / 466.6 MB, free: 34.4 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 (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.001191/0.4824, allocations: 419.1 kB / 467 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.4831, allocations: 325 kB / 467.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.4831, allocations: 0 / 467.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.4833, allocations: 141.9 kB / 467.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.4837, allocations: 41.8 kB / 467.5 MB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4847, allocations: 0.5265 MB / 468 MB, free: 33.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.485, allocations: 0.7611 MB / 468.8 MB, free: 33.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003302/0.4854, allocations: 154.9 kB / 468.9 MB, free: 33.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.4855, allocations: 42.73 kB / 469 MB, free: 33.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4855, allocations: 0 / 469 MB, free: 33.13 MB / 382.1 MB Notification: Performance of Templates: time 0.007187/0.4927, allocations: 3.184 MB / 472.2 MB, free: 32.88 MB / 382.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)