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.0009571/0.0009572, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007601/0.007601, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.591/1.591, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4155/0.4155, allocations: 55.02 MB / 325.8 MB, free: 0.5703 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.0005761/0.000576, allocations: 12 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3938, allocations: 60.72 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.001768/0.3956, allocations: 1.427 MB / 459.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3971, allocations: 1.127 MB / 460.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3972, allocations: 0 / 460.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3974, allocations: 25.7 kB / 460.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3976, allocations: 42.89 kB / 460.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.3979, allocations: 101.1 kB / 460.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3981, allocations: 219.3 kB / 460.9 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3982, allocations: 33.25 kB / 461 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.3983, allocations: 74.5 kB / 461 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3985, allocations: 82.34 kB / 461.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3986, allocations: 5.25 kB / 461.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3988, allocations: 105.1 kB / 461.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.3989, allocations: 72.41 kB / 461.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.399, allocations: 120.5 kB / 461.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.3993, allocations: 293.8 kB / 461.7 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3994, allocations: 0.625 kB / 461.7 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3994, allocations: 0 / 461.7 MB, free: 38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3994, allocations: 0.8438 kB / 461.7 MB, free: 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.0006953/0.4001, allocations: 0.5054 MB / 462.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4001, allocations: 14.34 kB / 462.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.4002, allocations: 32.31 kB / 462.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.4005, allocations: 277.2 kB / 462.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4005, allocations: 13.03 kB / 462.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.4006, allocations: 15.19 kB / 462.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.4009, allocations: 209.7 kB / 462.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4009, allocations: 0.5938 kB / 462.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.401, allocations: 10.72 kB / 462.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.401, allocations: 2.812 kB / 462.8 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.4018, allocations: 0.7459 MB / 463.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.4028, allocations: 0.5894 MB / 464.1 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.4033, allocations: 329.5 kB / 464.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.4035, allocations: 110.8 kB / 464.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005437/0.404, allocations: 460.9 kB / 465 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.4043, allocations: 176.1 kB / 465.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.4043, allocations: 1.312 kB / 465.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0005749/0.4049, allocations: 387.1 kB / 465.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.405, allocations: 91.64 kB / 465.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.4052, allocations: 305 kB / 465.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4053, allocations: 35.36 kB / 465.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.4053, allocations: 124.5 kB / 466.1 MB, free: 36.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.4054, allocations: 121.6 kB / 466.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.4054, allocations: 32.69 kB / 466.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.4055, allocations: 337.9 kB / 466.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.4057, allocations: 90.5 kB / 466.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4058, allocations: 112.6 kB / 466.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.4061, allocations: 226.2 kB / 467 MB, free: 35.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4061, allocations: 0 / 467 MB, free: 35.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004281/0.4066, allocations: 290.3 kB / 467.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4066, allocations: 3.531 kB / 467.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4066, allocations: 5.594 kB / 467.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4066, allocations: 3.438 kB / 467.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.4068, allocations: 66.88 kB / 467.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4069, allocations: 3.094 kB / 467.3 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.407, allocations: 29.55 kB / 467.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.407, allocations: 14.62 kB / 467.4 MB, free: 35.52 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.0001495/0.4071, allocations: 166.9 kB / 467.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4072, allocations: 26.28 kB / 467.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.4078, allocations: 411 kB / 468 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4079, allocations: 4.031 kB / 468 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4079, allocations: 0 / 468 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4079, allocations: 3.938 kB / 468 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.4082, allocations: 336.9 kB / 468.3 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4082, allocations: 3.719 kB / 468.3 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4084, allocations: 67.92 kB / 468.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4084, allocations: 3 kB / 468.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.4084, allocations: 10.81 kB / 468.4 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4084, allocations: 3 kB / 468.4 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4084, allocations: 1.125 kB / 468.4 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.4088, allocations: 336.5 kB / 468.7 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4089, allocations: 151 kB / 468.9 MB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.409, allocations: 14.75 kB / 468.9 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.4091, allocations: 12.56 kB / 468.9 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.4091, allocations: 18.17 kB / 468.9 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4092, allocations: 16.2 kB / 468.9 MB, free: 34.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4093, allocations: 237.3 kB / 469.2 MB, free: 34.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4093, allocations: 0 / 469.2 MB, free: 34.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.4096, allocations: 81.38 kB / 469.2 MB, free: 34.5 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.0009247/0.4106, allocations: 413.8 kB / 469.6 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.4109, allocations: 240.7 kB / 469.9 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4109, allocations: 0 / 469.9 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.4111, allocations: 135.8 kB / 470 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4114, allocations: 40.8 kB / 470.1 MB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.4122, allocations: 0.6149 MB / 470.7 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.4124, allocations: 0.7682 MB / 471.4 MB, free: 33.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.4127, allocations: 149.2 kB / 471.6 MB, free: 33.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.4128, allocations: 42.67 kB / 471.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4128, allocations: 0 / 471.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of Templates: time 0.006167/0.419, allocations: 3.055 MB / 474.7 MB, free: 32.88 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: