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.001068/0.001068, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 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.42/1.42, 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.392/0.392, allocations: 54.99 MB / 325.4 MB, free: 0.7344 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.0005078/0.000508, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3643, allocations: 60.72 MB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.00168/0.366, allocations: 1.404 MB / 458.7 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3673, allocations: 1.075 MB / 459.8 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.3673, allocations: 4.438 kB / 459.8 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.3675, allocations: 21.39 kB / 459.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3677, allocations: 46.12 kB / 459.9 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.368, allocations: 105.8 kB / 460 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3682, allocations: 145.5 kB / 460.1 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3683, allocations: 30.14 kB / 460.1 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.3684, allocations: 64.58 kB / 460.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3685, allocations: 65.64 kB / 460.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3685, allocations: 5.938 kB / 460.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3687, allocations: 86.27 kB / 460.4 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.3688, allocations: 66.91 kB / 460.4 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.3688, allocations: 63.67 kB / 460.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3691, allocations: 214.2 kB / 460.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.3691, allocations: 0 / 460.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3691, allocations: 1.5 kB / 460.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3691, allocations: 0 / 460.7 MB, free: 38.45 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.0005905/0.3697, allocations: 0.5052 MB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3697, allocations: 9.125 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.3698, allocations: 29.5 kB / 461.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.37, allocations: 264 kB / 461.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3701, allocations: 13.03 kB / 461.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.3701, allocations: 17.69 kB / 461.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3704, allocations: 207.1 kB / 461.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3704, allocations: 1.922 kB / 461.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.3705, allocations: 7.938 kB / 461.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3705, allocations: 6.75 kB / 461.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.3713, allocations: 0.7491 MB / 462.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.3721, allocations: 0.5887 MB / 463.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3725, allocations: 324.7 kB / 463.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.373, allocations: 461.8 kB / 463.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.3733, allocations: 177.2 kB / 464 MB, free: 36.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.654e-06/0.3733, allocations: 0 / 464 MB, free: 36.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0005478/0.3738, allocations: 380.9 kB / 464.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3739, allocations: 89.86 kB / 464.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.3741, allocations: 304.1 kB / 464.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3741, allocations: 36.14 kB / 464.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.3742, allocations: 117.8 kB / 464.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.3743, allocations: 127 kB / 465 MB, free: 36.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.3743, allocations: 8.656 kB / 465.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.3744, allocations: 337.9 kB / 465.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3746, allocations: 84.88 kB / 465.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3747, allocations: 117.2 kB / 465.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3749, allocations: 107.3 kB / 465.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3749, allocations: 3 kB / 465.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003713/0.3753, allocations: 297.5 kB / 466 MB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3753, allocations: 4.25 kB / 466 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3753, allocations: 2.938 kB / 466 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3753, allocations: 1.172 kB / 466 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3756, allocations: 68.7 kB / 466.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3756, allocations: 2.938 kB / 466.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.3757, allocations: 26.53 kB / 466.1 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.3757, allocations: 16.58 kB / 466.1 MB, free: 35.96 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.0001194/0.3758, allocations: 161.6 kB / 466.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3759, allocations: 31.92 kB / 466.3 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.3765, allocations: 407.6 kB / 466.7 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3765, allocations: 2.906 kB / 466.7 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3765, allocations: 3.938 kB / 466.7 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3766, allocations: 8.141 kB / 466.7 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.3768, allocations: 326.9 kB / 467 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3768, allocations: 3.938 kB / 467 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.377, allocations: 61.94 kB / 467.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.377, allocations: 7.078 kB / 467.1 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3771, allocations: 11.81 kB / 467.1 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3771, allocations: 7.875 kB / 467.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3771, allocations: 0 / 467.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3775, allocations: 337.6 kB / 467.4 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3776, allocations: 143.8 kB / 467.6 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3776, allocations: 10.92 kB / 467.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3777, allocations: 10.05 kB / 467.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3778, allocations: 34.5 kB / 467.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3778, allocations: 8.719 kB / 467.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.378, allocations: 234.2 kB / 467.9 MB, free: 34.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.378, allocations: 0 / 467.9 MB, free: 34.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00032/0.3783, allocations: 82.81 kB / 468 MB, free: 34.93 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.0009136/0.3793, allocations: 415.5 kB / 468.4 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.3796, allocations: 231.9 kB / 468.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3797, allocations: 0 / 468.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3798, allocations: 140.4 kB / 468.7 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3801, allocations: 40.48 kB / 468.8 MB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.3808, allocations: 0.606 MB / 469.4 MB, free: 34.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.381, allocations: 0.7666 MB / 470.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.3813, allocations: 155.1 kB / 470.3 MB, free: 33.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.3814, allocations: 42.78 kB / 470.3 MB, free: 33.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3814, allocations: 0 / 470.3 MB, free: 33.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005793/0.3872, allocations: 2.973 MB / 473.3 MB, free: 33.34 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: