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.005771/0.005771, allocations: 99.75 kB / 15.73 MB, free: 6.062 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.001235/0.001235, allocations: 198.3 kB / 16.68 MB, free: 5.973 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.32 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3759/0.3759, allocations: 54.95 MB / 324.8 MB, free: 108 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.001436/0.001436, allocations: 68.14 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 59.6 MB / 0.5038 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.003103/0.1357, allocations: 1.598 MB / 0.5054 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1374, allocations: 1.052 MB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.1375, allocations: 1.312 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1378, allocations: 28.53 kB / 0.5064 GB, free: 7.535 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.0002358/0.1381, allocations: 46.64 kB / 0.5065 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1383, allocations: 89.44 kB / 0.5065 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1386, allocations: 215.9 kB / 0.5068 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1387, allocations: 18.8 kB / 0.5068 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.1388, allocations: 71.61 kB / 0.5068 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.139, allocations: 83.19 kB / 0.5069 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.1391, allocations: 15.12 kB / 0.5069 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1392, allocations: 67.78 kB / 0.507 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1393, allocations: 76.69 kB / 0.5071 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.1394, allocations: 93.41 kB / 0.5072 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1398, allocations: 254.9 kB / 0.5074 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1398, allocations: 0 / 0.5074 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1398, allocations: 0 / 0.5074 GB, free: 6.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1398, allocations: 0 / 0.5074 GB, free: 6.895 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.0008122/0.1406, allocations: 0.5251 MB / 0.5079 GB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1407, allocations: 9.344 kB / 0.5079 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.1408, allocations: 32.34 kB / 0.508 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1411, allocations: 253.1 kB / 0.5082 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1411, allocations: 15.66 kB / 0.5082 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1411, allocations: 17.19 kB / 0.5082 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1415, allocations: 200 kB / 0.5084 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1415, allocations: 0 / 0.5084 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1416, allocations: 5.5 kB / 0.5084 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1416, allocations: 4.281 kB / 0.5084 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.1423, allocations: 0.7358 MB / 0.5091 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.143, allocations: 0.5589 MB / 0.5097 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1433, allocations: 227.9 kB / 0.5099 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1434, allocations: 100.8 kB / 0.51 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.1435, allocations: 19.97 kB / 0.51 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.1438, allocations: 165.5 kB / 0.5102 GB, free: 4.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.1438, allocations: 0 / 0.5102 GB, free: 4.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005485/0.1443, allocations: 366.7 kB / 0.5105 GB, free: 3.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.1444, allocations: 81.11 kB / 0.5106 GB, free: 3.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1446, allocations: 287.1 kB / 0.5109 GB, free: 3.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1447, allocations: 33.7 kB / 0.5109 GB, free: 3.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1447, allocations: 120.7 kB / 0.511 GB, free: 3.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.1448, allocations: 114.4 kB / 0.5111 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.1449, allocations: 61.7 kB / 0.5112 GB, free: 3.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.1449, allocations: 334.8 kB / 0.5115 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1451, allocations: 75.95 kB / 0.5116 GB, free: 2.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1452, allocations: 110.7 kB / 0.5117 GB, free: 2.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1454, allocations: 200.7 kB / 0.5119 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1454, allocations: 0 / 0.5119 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003257/0.1458, allocations: 273.7 kB / 0.5121 GB, free: 2.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1458, allocations: 7.984 kB / 0.5122 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1458, allocations: 4.031 kB / 0.5122 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1458, allocations: 7.938 kB / 0.5122 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.146, allocations: 55.91 kB / 0.5122 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.146, allocations: 0 / 0.5122 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.1461, allocations: 19.84 kB / 0.5122 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1461, allocations: 12 kB / 0.5123 GB, free: 1.938 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.0001198/0.1462, allocations: 157.7 kB / 0.5124 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.1463, allocations: 27.62 kB / 0.5124 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.1464, allocations: 42.66 kB / 0.5125 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1464, allocations: 3.938 kB / 0.5125 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1464, allocations: 4 kB / 0.5125 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1464, allocations: 11.92 kB / 0.5125 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1466, allocations: 313.3 kB / 0.5128 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1466, allocations: 0 / 0.5128 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1468, allocations: 59.91 kB / 0.5128 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1468, allocations: 0 / 0.5128 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1468, allocations: 8 kB / 0.5129 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1468, allocations: 11.92 kB / 0.5129 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1468, allocations: 4 kB / 0.5129 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1472, allocations: 300.6 kB / 0.5132 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.1473, allocations: 132.7 kB / 0.5133 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1473, allocations: 11.98 kB / 0.5133 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1474, allocations: 11.94 kB / 0.5133 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1475, allocations: 23.97 kB / 0.5133 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1475, allocations: 12 kB / 0.5133 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1476, allocations: 224.6 kB / 0.5136 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1476, allocations: 0 / 0.5136 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1479, allocations: 59.94 kB / 0.5136 GB, free: 464 kB / 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.0008673/0.1488, allocations: 405.9 kB / 0.514 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.1491, allocations: 220.3 kB / 0.5142 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1491, allocations: 0 / 0.5142 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1493, allocations: 124.3 kB / 0.5143 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1495, allocations: 42.64 kB / 0.5144 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.1504, allocations: 0.4972 MB / 0.5148 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1507, allocations: 0.754 MB / 0.5156 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.151, allocations: 134.2 kB / 0.5157 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.1511, allocations: 39.42 kB / 0.5158 GB, free: 14.35 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1511, allocations: 0 / 0.5158 GB, free: 14.35 MB / 398.1 MB Notification: Performance of Templates: time 0.006533/0.1576, allocations: 2.513 MB / 0.5182 GB, free: 11.84 MB / 398.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)