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.001258/0.001258, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001295/0.001295, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.363/1.363, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3688/0.3688, allocations: 54.93 MB / 324.4 MB, free: 120 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.001326/0.001326, allocations: 71.89 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 59.58 MB / 454.4 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.2027/0.3436, allocations: 1.781 MB / 456.2 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3448, allocations: 1.127 MB / 457.4 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.3449, allocations: 0 / 457.4 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.3451, allocations: 28.8 kB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.3453, allocations: 39.84 kB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.3456, allocations: 112.2 kB / 457.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3458, allocations: 240.2 kB / 457.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3459, allocations: 33.95 kB / 457.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.346, allocations: 85.75 kB / 457.9 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3461, allocations: 92.88 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3462, allocations: 15.94 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.3463, allocations: 111.9 kB / 458.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.3464, allocations: 84.77 kB / 458.2 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.3465, allocations: 103.2 kB / 458.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3468, allocations: 303.8 kB / 458.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3468, allocations: 8.938 kB / 458.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3468, allocations: 0 / 458.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3468, allocations: 0 / 458.6 MB, free: 38.38 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.0005757/0.3474, allocations: 0.5429 MB / 459.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3474, allocations: 9.812 kB / 459.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.3475, allocations: 32.72 kB / 459.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3477, allocations: 277.9 kB / 459.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3477, allocations: 11.03 kB / 459.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3478, allocations: 18.59 kB / 459.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.348, allocations: 211.8 kB / 459.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3481, allocations: 0.5625 kB / 459.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.3481, allocations: 6.281 kB / 459.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3481, allocations: 4.469 kB / 459.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/0.3488, allocations: 0.7545 MB / 460.4 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.3494, allocations: 0.5878 MB / 461 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.3498, allocations: 321.8 kB / 461.3 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3499, allocations: 110.7 kB / 461.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.3504, allocations: 464.5 kB / 461.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.3507, allocations: 177.2 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.3507, allocations: 0.9375 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0006317/0.3513, allocations: 392.3 kB / 462.5 MB, free: 36.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3514, allocations: 83.64 kB / 462.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3516, allocations: 310.1 kB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3517, allocations: 29.7 kB / 462.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.3517, allocations: 125.9 kB / 463 MB, free: 36.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.3518, allocations: 122.4 kB / 463.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.3519, allocations: 65.09 kB / 463.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.3519, allocations: 344.6 kB / 463.5 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.352, allocations: 83.12 kB / 463.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3522, allocations: 114.7 kB / 463.7 MB, free: 35.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.3524, allocations: 226.1 kB / 463.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3524, allocations: 2.469 kB / 463.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003516/0.3528, allocations: 295.5 kB / 464.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3528, allocations: 5.812 kB / 464.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3528, allocations: 3.938 kB / 464.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3529, allocations: 0 / 464.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3531, allocations: 68.58 kB / 464.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3531, allocations: 0 / 464.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.3532, allocations: 33.19 kB / 464.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3532, allocations: 12.59 kB / 464.3 MB, free: 35.45 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.0001134/0.3533, allocations: 162.8 kB / 464.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.3533, allocations: 24.84 kB / 464.5 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.3539, allocations: 410 kB / 464.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3539, allocations: 2.906 kB / 464.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3539, allocations: 0 / 464.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.354, allocations: 3.938 kB / 464.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3542, allocations: 336.6 kB / 465.3 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3542, allocations: 0 / 465.3 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3543, allocations: 67.94 kB / 465.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3544, allocations: 4.828 kB / 465.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3544, allocations: 14.97 kB / 465.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3544, allocations: 2.969 kB / 465.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3544, allocations: 0 / 465.4 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.3548, allocations: 337.9 kB / 465.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.3548, allocations: 139.9 kB / 465.8 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.3549, allocations: 15.5 kB / 465.8 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.355, allocations: 10.84 kB / 465.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.355, allocations: 27.06 kB / 465.9 MB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.355, allocations: 12.38 kB / 465.9 MB, free: 34.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3552, allocations: 233 kB / 466.1 MB, free: 34.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3552, allocations: 0.6562 kB / 466.1 MB, free: 34.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3555, allocations: 78.75 kB / 466.2 MB, free: 34.44 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.0007928/0.3563, allocations: 420.2 kB / 466.6 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.3567, allocations: 328.7 kB / 466.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3567, allocations: 0 / 466.9 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3569, allocations: 134.5 kB / 467.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3572, allocations: 42.16 kB / 467.1 MB, free: 34.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.3578, allocations: 0.6209 MB / 467.7 MB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.358, allocations: 0.7646 MB / 468.5 MB, free: 33.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.3583, allocations: 152.7 kB / 468.6 MB, free: 33.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.3583, allocations: 47.17 kB / 468.7 MB, free: 33.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3584, allocations: 0 / 468.7 MB, free: 33.07 MB / 382.1 MB Notification: Performance of Templates: time 0.005146/0.3635, allocations: 3.176 MB / 471.9 MB, free: 32.82 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)