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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4644/0.4644, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.00155/0.00155, allocations: 63.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1691, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.3251/0.4943, allocations: 1.596 MB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.4961, allocations: 1.043 MB / 457.6 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.4963, allocations: 2.938 kB / 457.6 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.4967, allocations: 27.73 kB / 457.6 MB, free: 38.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.497, allocations: 48.03 kB / 457.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.4974, allocations: 80.69 kB / 457.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.4978, allocations: 213.8 kB / 457.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.498, allocations: 22.56 kB / 458 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.4981, allocations: 77.92 kB / 458 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.4984, allocations: 84.19 kB / 458.1 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.4985, allocations: 18.91 kB / 458.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.4987, allocations: 56.78 kB / 458.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.4988, allocations: 75.55 kB / 458.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.499, allocations: 100.2 kB / 458.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.4994, allocations: 248.9 kB / 458.6 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.4995, allocations: 0 / 458.6 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4995, allocations: 0 / 458.6 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4995, allocations: 0.9688 kB / 458.6 MB, free: 38.61 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.0009986/0.5005, allocations: 0.5214 MB / 459.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5005, allocations: 10.34 kB / 459.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.5007, allocations: 25.38 kB / 459.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.501, allocations: 257.3 kB / 459.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.5011, allocations: 14.62 kB / 459.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.5011, allocations: 20.12 kB / 459.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.5015, allocations: 191.9 kB / 459.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5015, allocations: 1.312 kB / 459.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.5016, allocations: 5.656 kB / 459.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.5016, allocations: 3.953 kB / 459.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008724/0.5025, allocations: 0.7348 MB / 460.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.5034, allocations: 0.5623 MB / 460.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.5037, allocations: 218.4 kB / 461.2 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5039, allocations: 105.7 kB / 461.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.5039, allocations: 22.67 kB / 461.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.5043, allocations: 168.4 kB / 461.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.5043, allocations: 0 / 461.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006019/0.5049, allocations: 355.7 kB / 461.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.505, allocations: 87.09 kB / 461.9 MB, free: 37.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.5052, allocations: 290.3 kB / 462.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5053, allocations: 37.45 kB / 462.2 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.5053, allocations: 116.7 kB / 462.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.5054, allocations: 116.9 kB / 462.4 MB, free: 36.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.5055, allocations: 60.48 kB / 462.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.5056, allocations: 334.3 kB / 462.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5057, allocations: 81.89 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.5058, allocations: 109.8 kB / 463 MB, free: 36.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.5061, allocations: 198.5 kB / 463.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5061, allocations: 0.9688 kB / 463.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003352/0.5064, allocations: 269.6 kB / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5065, allocations: 6.312 kB / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5065, allocations: 0 / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5065, allocations: 7.688 kB / 463.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.5067, allocations: 58.2 kB / 463.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5067, allocations: 0 / 463.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.5068, allocations: 20.47 kB / 463.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.5069, allocations: 16.95 kB / 463.6 MB, free: 36.2 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.0001505/0.507, allocations: 163.1 kB / 463.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.5071, allocations: 21.88 kB / 463.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.5072, allocations: 42 kB / 463.8 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.5072, allocations: 7.469 kB / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5072, allocations: 5.859 kB / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5072, allocations: 0 / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.5075, allocations: 317 kB / 464.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5075, allocations: 0 / 464.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.5077, allocations: 60.72 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5077, allocations: 0 / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.5077, allocations: 10.88 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5077, allocations: 4.5 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5077, allocations: 3.328 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.5082, allocations: 308.1 kB / 464.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5083, allocations: 138.8 kB / 464.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.5084, allocations: 7.812 kB / 464.6 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.5085, allocations: 10.97 kB / 464.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.5086, allocations: 25.89 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5086, allocations: 9.219 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.5088, allocations: 225.6 kB / 464.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5088, allocations: 1.344 kB / 464.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.5091, allocations: 56.38 kB / 464.9 MB, free: 35.35 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.001083/0.5102, allocations: 409.1 kB / 465.3 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.5107, allocations: 288.9 kB / 465.6 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5107, allocations: 4 kB / 465.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.5109, allocations: 121.8 kB / 465.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5112, allocations: 30.19 kB / 465.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.512, allocations: 0.5006 MB / 466.3 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.5123, allocations: 0.7565 MB / 467 MB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.5127, allocations: 135.1 kB / 467.2 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.5128, allocations: 40.97 kB / 467.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5128, allocations: 4 kB / 467.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of Templates: time 0.006369/0.5191, allocations: 2.46 MB / 469.7 MB, free: 33.92 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)