Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.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.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, 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.001181/0.001181, 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.388/1.388, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3812/0.3812, allocations: 54.93 MB / 324.3 MB, free: 168 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.001811/0.001812, allocations: 67.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 59.6 MB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.2502/0.3961, allocations: 1.658 MB / 455.9 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3977, allocations: 1.029 MB / 456.9 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3978, allocations: 2.625 kB / 456.9 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3981, allocations: 25.7 kB / 457 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3983, allocations: 33.48 kB / 457 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3986, allocations: 73.84 kB / 457.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.3988, allocations: 197.9 kB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3989, allocations: 26.8 kB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.399, allocations: 66.45 kB / 457.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3992, allocations: 79.44 kB / 457.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3993, allocations: 8.406 kB / 457.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3994, allocations: 52.62 kB / 457.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.3995, allocations: 66.62 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.3996, allocations: 93.03 kB / 457.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3998, allocations: 243.9 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3998, allocations: 2.938 kB / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3998, allocations: 0 / 457.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3998, allocations: 0 / 457.9 MB, free: 38.36 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006501/0.4005, allocations: 0.5159 MB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4006, allocations: 13 kB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.4006, allocations: 25.09 kB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4008, allocations: 257.9 kB / 458.7 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4009, allocations: 9.75 kB / 458.7 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.4009, allocations: 21.75 kB / 458.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4012, allocations: 189.8 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4012, allocations: 0.5312 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.4012, allocations: 7.531 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4013, allocations: 11.09 kB / 458.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.402, allocations: 0.7319 MB / 459.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.4028, allocations: 0.5562 MB / 460.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.4031, allocations: 219.8 kB / 460.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.4032, allocations: 108.1 kB / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.4033, allocations: 15.56 kB / 460.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.4036, allocations: 170.8 kB / 460.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.4036, allocations: 0.5 kB / 460.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005293/0.4041, allocations: 357.5 kB / 461.1 MB, free: 37.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4042, allocations: 83.64 kB / 461.2 MB, free: 37.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.4044, allocations: 294.6 kB / 461.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4044, allocations: 31.98 kB / 461.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.4045, allocations: 120.6 kB / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.4045, allocations: 114.4 kB / 461.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.4046, allocations: 58.94 kB / 461.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.4047, allocations: 341.9 kB / 462.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4048, allocations: 71.81 kB / 462.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.4049, allocations: 113 kB / 462.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.4052, allocations: 201.5 kB / 462.5 MB, free: 36.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4052, allocations: 0.5 kB / 462.5 MB, free: 36.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003359/0.4055, allocations: 268.7 kB / 462.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4056, allocations: 8.828 kB / 462.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4056, allocations: 3.938 kB / 462.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4056, allocations: 3.562 kB / 462.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.4058, allocations: 58.2 kB / 462.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4058, allocations: 7.781 kB / 462.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.4059, allocations: 17.59 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.4059, allocations: 13.38 kB / 462.8 MB, free: 36.27 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 (timCon.tStart,$PRE.timCon.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.00011/0.406, allocations: 158.1 kB / 463 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.4061, allocations: 23.03 kB / 463 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.4066, allocations: 369.2 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4066, allocations: 2.812 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4066, allocations: 7.312 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4067, allocations: 3.234 kB / 463.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.4069, allocations: 317.6 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4069, allocations: 0.625 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.407, allocations: 55.62 kB / 463.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4071, allocations: 2.719 kB / 463.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4071, allocations: 10.22 kB / 463.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4071, allocations: 3.375 kB / 463.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4071, allocations: 3.938 kB / 463.8 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.4074, allocations: 318.4 kB / 464.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.4075, allocations: 128.5 kB / 464.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4076, allocations: 9.219 kB / 464.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.4076, allocations: 10.81 kB / 464.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4077, allocations: 27.92 kB / 464.3 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4077, allocations: 14 kB / 464.3 MB, free: 35.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.4079, allocations: 225.2 kB / 464.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4079, allocations: 1.031 kB / 464.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.4081, allocations: 53.69 kB / 464.5 MB, free: 35.3 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,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0008493/0.409, allocations: 420.3 kB / 465 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.4093, allocations: 209.7 kB / 465.2 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4093, allocations: 4 kB / 465.2 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4095, allocations: 119.7 kB / 465.3 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4097, allocations: 32.97 kB / 465.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.4105, allocations: 0.5673 MB / 465.9 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.4107, allocations: 0.7575 MB / 466.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.411, allocations: 136.4 kB / 466.8 MB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.4111, allocations: 41.44 kB / 466.8 MB, free: 34 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4111, allocations: 3.938 kB / 466.8 MB, free: 34 MB / 382.1 MB Notification: Performance of Templates: time 0.005517/0.4166, allocations: 2.392 MB / 469.2 MB, free: 33.8 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1)