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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3307/0.3307, allocations: 54.41 MB / 61.88 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.1 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.469/1.469, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 123.5 kB / 341.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.734e-05, allocations: 4.219 kB / 405.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 57.65 MB / 463.2 MB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4827, allocations: 87.34 MB / 0.5376 GB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.483, allocations: 83.95 kB / 0.5377 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.4984, allocations: 5.91 MB / 0.5434 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4984, allocations: 0 / 0.5434 GB, free: 7.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.4984, allocations: 4 kB / 0.5434 GB, free: 7.953 MB / 394.7 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.0007346/0.4991, allocations: 0.5111 MB / 0.5439 GB, free: 7.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4992, allocations: 8.031 kB / 0.544 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4994, allocations: 32.28 kB / 0.544 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.4998, allocations: 265 kB / 0.5442 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4999, allocations: 12 kB / 0.5442 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4999, allocations: 8 kB / 0.5443 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/0.501, allocations: 0.7764 MB / 0.545 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.5013, allocations: 189.7 kB / 0.5452 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5013, allocations: 7.922 kB / 0.5452 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.5014, allocations: 2.906 kB / 0.5452 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5014, allocations: 4 kB / 0.5452 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.5024, allocations: 0.5671 MB / 0.5458 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.5029, allocations: 319.5 kB / 0.5461 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5031, allocations: 104.2 kB / 0.5462 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.5038, allocations: 465.4 kB / 0.5466 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.5041, allocations: 171.3 kB / 0.5468 GB, free: 4.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.5041, allocations: 3.938 kB / 0.5468 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.002168/0.5063, allocations: 491.4 kB / 0.5472 GB, free: 3.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.5064, allocations: 85.09 kB / 0.5473 GB, free: 3.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.5067, allocations: 247.1 kB / 0.5476 GB, free: 3.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.5067, allocations: 25.7 kB / 0.5476 GB, free: 3.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.5068, allocations: 120.8 kB / 0.5477 GB, free: 3.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5069, allocations: 118.2 kB / 0.5478 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.507, allocations: 0 / 0.5478 GB, free: 3.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5071, allocations: 348.5 kB / 0.5481 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.5073, allocations: 96.64 kB / 0.5482 GB, free: 2.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.5075, allocations: 130.9 kB / 0.5484 GB, free: 2.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.5093, allocations: 321.3 kB / 0.5487 GB, free: 2.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5093, allocations: 4 kB / 0.5487 GB, free: 2.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002132/0.5115, allocations: 0.576 MB / 0.5492 GB, free: 1.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.5115, allocations: 29.7 kB / 0.5493 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5116, allocations: 0 / 0.5493 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.5116, allocations: 4 kB / 0.5493 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.5118, allocations: 71.89 kB / 0.5493 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5118, allocations: 0 / 0.5493 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.512, allocations: 23.75 kB / 0.5494 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.512, allocations: 13.98 kB / 0.5494 GB, free: 1.566 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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.0001191/0.5121, allocations: 120.9 kB / 0.5495 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.5122, allocations: 23.72 kB / 0.5495 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.5146, allocations: 0.6 MB / 0.5501 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5146, allocations: 5.594 kB / 0.5501 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5147, allocations: 0 / 0.5501 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5147, allocations: 3.984 kB / 0.5501 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.5151, allocations: 305.8 kB / 0.5504 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5151, allocations: 4 kB / 0.5504 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.5153, allocations: 67.91 kB / 0.5505 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.5153, allocations: 3.953 kB / 0.5505 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.5154, allocations: 4 kB / 0.5505 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.5154, allocations: 10.42 kB / 0.5505 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5154, allocations: 0 / 0.5505 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.5175, allocations: 0.5175 MB / 0.551 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.5177, allocations: 160.6 kB / 0.5511 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5177, allocations: 11.7 kB / 0.5512 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.5178, allocations: 4 kB / 0.5512 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.5179, allocations: 27.97 kB / 0.5512 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5179, allocations: 11.98 kB / 0.5512 GB, free: 15.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.5181, allocations: 205.6 kB / 0.5514 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5181, allocations: 5.781 kB / 0.5514 GB, free: 15.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.5185, allocations: 83.91 kB / 0.5515 GB, free: 15.34 MB / 410.7 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) * 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.0008759/0.5194, allocations: 319.5 kB / 0.5518 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.5199, allocations: 311 kB / 0.5521 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5199, allocations: 4 kB / 0.5521 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.5201, allocations: 135.8 kB / 0.5522 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.5204, allocations: 26.95 kB / 0.5522 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.5212, allocations: 410 kB / 0.5526 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.5216, allocations: 0.7728 MB / 0.5534 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.5221, allocations: 165.5 kB / 0.5535 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5222, allocations: 39.42 kB / 0.5536 GB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5222, allocations: 4 kB / 0.5536 GB, free: 13.21 MB / 410.7 MB Notification: Performance of Templates: time 0.007231/0.5295, allocations: 2.936 MB / 0.5564 GB, free: 10.31 MB / 410.7 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)