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.001071/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001086/0.001086, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.393/1.393, allocations: 205.1 MB / 222 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.389/0.389, allocations: 54.93 MB / 324.3 MB, free: 152 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.001292/0.001292, allocations: 71.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 59.59 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.1827/0.2982, allocations: 1.779 MB / 456 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2996, allocations: 1.135 MB / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.2998, allocations: 0 / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3, allocations: 23.77 kB / 457.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3002, allocations: 45.8 kB / 457.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.3005, allocations: 108.6 kB / 457.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.3008, allocations: 217.1 kB / 457.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.301, allocations: 33.7 kB / 457.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.3011, allocations: 70.75 kB / 457.7 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3013, allocations: 94.08 kB / 457.7 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.3013, allocations: 8.562 kB / 457.8 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.3015, allocations: 98.47 kB / 457.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3017, allocations: 75.83 kB / 457.9 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3018, allocations: 100.8 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.3022, allocations: 298.1 kB / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3022, allocations: 0 / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3022, allocations: 0 / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3022, allocations: 0 / 458.3 MB, free: 38.2 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.0008931/0.3031, allocations: 0.5518 MB / 458.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3032, allocations: 13.19 kB / 458.9 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.3033, allocations: 31.94 kB / 458.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3036, allocations: 272.7 kB / 459.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3036, allocations: 17.72 kB / 459.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.3037, allocations: 20.64 kB / 459.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.3041, allocations: 210.2 kB / 459.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3041, allocations: 0 / 459.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3041, allocations: 6.062 kB / 459.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3041, allocations: 4.312 kB / 459.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009177/0.3051, allocations: 0.7501 MB / 460.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.3059, allocations: 0.588 MB / 460.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.3064, allocations: 322.5 kB / 461.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3066, allocations: 116.8 kB / 461.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/0.3072, allocations: 456.6 kB / 461.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.3076, allocations: 177.3 kB / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.3076, allocations: 0 / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0006502/0.3083, allocations: 393.7 kB / 462.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3083, allocations: 83.8 kB / 462.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.3086, allocations: 306 kB / 462.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3086, allocations: 37.23 kB / 462.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3087, allocations: 125.7 kB / 462.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.014e-05/0.3088, allocations: 120.4 kB / 462.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.3089, allocations: 66.5 kB / 462.9 MB, free: 36.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.309, allocations: 338.3 kB / 463.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3091, allocations: 82.44 kB / 463.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3093, allocations: 117.3 kB / 463.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3096, allocations: 226.5 kB / 463.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3096, allocations: 1.031 kB / 463.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004074/0.31, allocations: 294.3 kB / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3101, allocations: 5.75 kB / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3101, allocations: 1.094 kB / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3101, allocations: 3.938 kB / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3103, allocations: 70.92 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3104, allocations: 2.656 kB / 464 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.692e-05/0.3104, allocations: 26.78 kB / 464.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3105, allocations: 15.98 kB / 464.1 MB, free: 35.38 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.0001333/0.3106, allocations: 160.6 kB / 464.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.3107, allocations: 27 kB / 464.3 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/0.3114, allocations: 413.4 kB / 464.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3114, allocations: 2.625 kB / 464.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3114, allocations: 5.031 kB / 464.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3114, allocations: 0 / 464.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3117, allocations: 334 kB / 465 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3117, allocations: 1.469 kB / 465 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3119, allocations: 63.19 kB / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3119, allocations: 5.984 kB / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3119, allocations: 13.72 kB / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3119, allocations: 0 / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3119, allocations: 3.281 kB / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3123, allocations: 337.9 kB / 465.4 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.3124, allocations: 145.2 kB / 465.6 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3125, allocations: 13.12 kB / 465.6 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.3126, allocations: 6.812 kB / 465.6 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3126, allocations: 25.11 kB / 465.6 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3127, allocations: 18.72 kB / 465.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3128, allocations: 230.5 kB / 465.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 0.6562 kB / 465.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3131, allocations: 76.52 kB / 465.9 MB, free: 34.37 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.0009033/0.314, allocations: 419.4 kB / 466.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.3144, allocations: 239.8 kB / 466.6 MB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3144, allocations: 4 kB / 466.6 MB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3146, allocations: 139 kB / 466.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3149, allocations: 39.62 kB / 466.7 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.3156, allocations: 0.6128 MB / 467.4 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.3158, allocations: 0.7632 MB / 468.1 MB, free: 33.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000308/0.3161, allocations: 163.5 kB / 468.3 MB, free: 33.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.3162, allocations: 42.86 kB / 468.3 MB, free: 33.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3162, allocations: 0 / 468.3 MB, free: 33.02 MB / 382.1 MB Notification: Performance of Templates: time 0.005462/0.3217, allocations: 3.091 MB / 471.4 MB, free: 32.77 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)