Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004621/0.004621, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001148/0.001148, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.278/1.278, allocations: 205.1 MB / 222.5 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3629/0.3629, allocations: 54.95 MB / 324.8 MB, free: 84 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.001371/0.001371, allocations: 67.77 kB / 456.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09621, allocations: 59.59 MB / 0.5038 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.002318/0.09856, allocations: 1.678 MB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.09979, allocations: 1.191 MB / 0.5066 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.09986, allocations: 1.406 kB / 0.5066 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1, allocations: 35.98 kB / 0.5067 GB, free: 7.262 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.0001771/0.1002, allocations: 50.55 kB / 0.5067 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1005, allocations: 107.4 kB / 0.5068 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1007, allocations: 237 kB / 0.507 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.1008, allocations: 28.36 kB / 0.5071 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1008, allocations: 79.52 kB / 0.5071 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.101, allocations: 98.08 kB / 0.5072 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.101, allocations: 16.5 kB / 0.5072 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1012, allocations: 86.95 kB / 0.5073 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1013, allocations: 78.06 kB / 0.5074 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.1013, allocations: 104.1 kB / 0.5075 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1016, allocations: 299.2 kB / 0.5078 GB, free: 6.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1016, allocations: 0 / 0.5078 GB, free: 6.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1016, allocations: 4 kB / 0.5078 GB, free: 6.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1016, allocations: 0 / 0.5078 GB, free: 6.523 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.0005524/0.1022, allocations: 0.5381 MB / 0.5083 GB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1022, allocations: 13 kB / 0.5083 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.1026, allocations: 66.12 kB / 0.5084 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1028, allocations: 271.4 kB / 0.5086 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1028, allocations: 11.03 kB / 0.5087 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1029, allocations: 14.81 kB / 0.5087 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.1032, allocations: 226.3 kB / 0.5089 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1033, allocations: 0 / 0.5089 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.1033, allocations: 16 kB / 0.5089 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1033, allocations: 4 kB / 0.5089 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.104, allocations: 0.7685 MB / 0.5097 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.1047, allocations: 0.5942 MB / 0.5102 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.1053, allocations: 352 kB / 0.5106 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1055, allocations: 121.4 kB / 0.5107 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1056, allocations: 24.25 kB / 0.5107 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.1059, allocations: 195.9 kB / 0.5109 GB, free: 3.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.1059, allocations: 0 / 0.5109 GB, free: 3.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007262/0.1066, allocations: 412.7 kB / 0.5113 GB, free: 2.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1067, allocations: 81.11 kB / 0.5114 GB, free: 2.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1069, allocations: 304.8 kB / 0.5117 GB, free: 2.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1069, allocations: 37.64 kB / 0.5117 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.107, allocations: 129 kB / 0.5118 GB, free: 2.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.107, allocations: 110.4 kB / 0.5119 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.1071, allocations: 65.69 kB / 0.512 GB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.1072, allocations: 334.8 kB / 0.5123 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1073, allocations: 95.94 kB / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1075, allocations: 126.8 kB / 0.5125 GB, free: 1.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.1079, allocations: 237.1 kB / 0.5127 GB, free: 1.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1079, allocations: 4.031 kB / 0.5128 GB, free: 1.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004723/0.1084, allocations: 309 kB / 0.513 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1084, allocations: 4 kB / 0.513 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1084, allocations: 0 / 0.513 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1085, allocations: 7.938 kB / 0.5131 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1087, allocations: 67.89 kB / 0.5131 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1087, allocations: 8 kB / 0.5131 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1089, allocations: 27.77 kB / 0.5132 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1089, allocations: 12 kB / 0.5132 GB, free: 1 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 (36): * Single equations (assignments): 36 * 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.0001209/0.109, allocations: 161.7 kB / 0.5133 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1091, allocations: 31.56 kB / 0.5134 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.1092, allocations: 38.66 kB / 0.5134 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1092, allocations: 4 kB / 0.5134 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1092, allocations: 3.984 kB / 0.5134 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1092, allocations: 3.984 kB / 0.5134 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1094, allocations: 333.2 kB / 0.5137 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1094, allocations: 4 kB / 0.5137 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.1096, allocations: 67.83 kB / 0.5138 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1096, allocations: 0 / 0.5138 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.1096, allocations: 23.98 kB / 0.5138 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1096, allocations: 4 kB / 0.5138 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1097, allocations: 0 / 0.5138 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1102, allocations: 336.8 kB / 0.5141 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1103, allocations: 148.6 kB / 0.5143 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.1104, allocations: 8 kB / 0.5143 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1105, allocations: 11.98 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1105, allocations: 23.97 kB / 0.5143 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1106, allocations: 19.98 kB / 0.5143 GB, free: 15.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1107, allocations: 225.6 kB / 0.5146 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1108, allocations: 3.938 kB / 0.5146 GB, free: 15.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.111, allocations: 63.89 kB / 0.5146 GB, free: 15.42 MB / 398.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 (35): * Single equations (assignments): 34 * 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.0008282/0.1119, allocations: 405.3 kB / 0.515 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.1124, allocations: 255.6 kB / 0.5152 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1124, allocations: 0 / 0.5152 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1127, allocations: 148.6 kB / 0.5154 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1129, allocations: 43.88 kB / 0.5154 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.1138, allocations: 0.5294 MB / 0.5159 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1142, allocations: 0.7611 MB / 0.5167 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.1145, allocations: 150.8 kB / 0.5168 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.1146, allocations: 47.41 kB / 0.5169 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1146, allocations: 0 / 0.5169 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Templates: time 0.005362/0.12, allocations: 2.76 MB / 0.5196 GB, free: 10.43 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)