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.004996/0.004996, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001213/0.001213, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.206/1.206, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3476/0.3476, allocations: 54.94 MB / 324.8 MB, free: 12 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.001345/0.001345, allocations: 70.77 kB / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1007, allocations: 59.59 MB / 0.5038 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.002384/0.1032, allocations: 1.671 MB / 0.5054 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1044, allocations: 1.191 MB / 0.5066 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.1045, allocations: 2.438 kB / 0.5066 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1047, allocations: 32.16 kB / 0.5066 GB, free: 7.512 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.0001773/0.1049, allocations: 50.45 kB / 0.5067 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1051, allocations: 112.9 kB / 0.5068 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1054, allocations: 235.9 kB / 0.507 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1055, allocations: 27.05 kB / 0.507 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.1056, allocations: 81.33 kB / 0.5071 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1057, allocations: 94.36 kB / 0.5072 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1058, allocations: 15.62 kB / 0.5072 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1059, allocations: 95.38 kB / 0.5073 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.106, allocations: 77.75 kB / 0.5074 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.1061, allocations: 105.3 kB / 0.5075 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1064, allocations: 286.4 kB / 0.5078 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1064, allocations: 0 / 0.5078 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1064, allocations: 0 / 0.5078 GB, free: 6.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1064, allocations: 0 / 0.5078 GB, free: 6.781 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.0005708/0.107, allocations: 0.5564 MB / 0.5083 GB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.107, allocations: 8.031 kB / 0.5083 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.1075, allocations: 68.62 kB / 0.5084 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1077, allocations: 267.4 kB / 0.5086 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1077, allocations: 20 kB / 0.5086 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1077, allocations: 19.98 kB / 0.5087 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1081, allocations: 223 kB / 0.5089 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1081, allocations: 0 / 0.5089 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1081, allocations: 8 kB / 0.5089 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1081, allocations: 4 kB / 0.5089 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.1089, allocations: 0.7724 MB / 0.5096 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.1096, allocations: 0.6059 MB / 0.5102 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.1102, allocations: 352 kB / 0.5106 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1104, allocations: 125.3 kB / 0.5107 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.1105, allocations: 24.25 kB / 0.5107 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.1108, allocations: 191.9 kB / 0.5109 GB, free: 3.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/0.1108, allocations: 0 / 0.5109 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007337/0.1115, allocations: 420.8 kB / 0.5113 GB, free: 3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1116, allocations: 81.11 kB / 0.5114 GB, free: 2.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1118, allocations: 300.8 kB / 0.5117 GB, free: 2.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1118, allocations: 29.7 kB / 0.5117 GB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.1119, allocations: 129 kB / 0.5118 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.1119, allocations: 130.9 kB / 0.5119 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.112, allocations: 65.69 kB / 0.512 GB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.1121, allocations: 334.8 kB / 0.5123 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1123, allocations: 95.94 kB / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1125, allocations: 126.8 kB / 0.5125 GB, free: 1.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.1129, allocations: 237.1 kB / 0.5128 GB, free: 1.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1129, allocations: 3.938 kB / 0.5128 GB, free: 1.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004816/0.1133, allocations: 309.2 kB / 0.5131 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1134, allocations: 4 kB / 0.5131 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1134, allocations: 0 / 0.5131 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1134, allocations: 4 kB / 0.5131 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1136, allocations: 67.89 kB / 0.5131 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1137, allocations: 4 kB / 0.5131 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1138, allocations: 27.83 kB / 0.5132 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1138, allocations: 12 kB / 0.5132 GB, free: 1.008 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.0001023/0.1139, allocations: 165.7 kB / 0.5133 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.114, allocations: 27.8 kB / 0.5134 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.1141, allocations: 34.66 kB / 0.5134 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1141, allocations: 4 kB / 0.5134 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1141, allocations: 4 kB / 0.5134 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1141, allocations: 3.984 kB / 0.5134 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1143, allocations: 341.2 kB / 0.5137 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1143, allocations: 4 kB / 0.5137 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1145, allocations: 67.83 kB / 0.5138 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1145, allocations: 0 / 0.5138 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1146, allocations: 15.98 kB / 0.5138 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1146, allocations: 0 / 0.5138 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1146, allocations: 0 / 0.5138 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.1151, allocations: 344.9 kB / 0.5141 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1152, allocations: 152.7 kB / 0.5143 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1153, allocations: 8 kB / 0.5143 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1154, allocations: 15.98 kB / 0.5143 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.1155, allocations: 23.97 kB / 0.5143 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1155, allocations: 15.98 kB / 0.5143 GB, free: 15.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1157, allocations: 229.6 kB / 0.5146 GB, free: 15.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1157, allocations: 0 / 0.5146 GB, free: 15.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1159, allocations: 59.92 kB / 0.5146 GB, free: 15.43 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.0008293/0.1168, allocations: 397.9 kB / 0.515 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.1173, allocations: 255.7 kB / 0.5152 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1173, allocations: 0 / 0.5152 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.1176, allocations: 152.5 kB / 0.5154 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1178, allocations: 28.61 kB / 0.5154 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.1187, allocations: 0.5445 MB / 0.5159 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1189, allocations: 0.7613 MB / 0.5167 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.1193, allocations: 154.8 kB / 0.5168 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.1193, allocations: 43.36 kB / 0.5169 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1193, allocations: 0 / 0.5169 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Templates: time 0.005361/0.1247, allocations: 2.771 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)