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.007604/0.007604, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001345/0.001345, allocations: 190.6 kB / 16.67 MB, free: 5.949 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.527/1.527, allocations: 205.1 MB / 222.5 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.4545/0.4545, allocations: 54.95 MB / 324.9 MB, free: 36 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.00157/0.00157, allocations: 65.59 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 59.59 MB / 0.5038 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.003691/0.1615, allocations: 1.602 MB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1633, allocations: 1.048 MB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.1634, allocations: 1.25 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1637, allocations: 31.22 kB / 0.5064 GB, free: 7.531 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.0002549/0.164, allocations: 46.52 kB / 0.5065 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1643, allocations: 89.05 kB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.1646, allocations: 216.1 kB / 0.5067 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1647, allocations: 18.42 kB / 0.5068 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.1648, allocations: 71.73 kB / 0.5068 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1651, allocations: 87.19 kB / 0.5069 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.1651, allocations: 19.06 kB / 0.5069 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1653, allocations: 65.22 kB / 0.507 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1654, allocations: 72.69 kB / 0.5071 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1655, allocations: 97.34 kB / 0.5072 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.1658, allocations: 257.5 kB / 0.5074 GB, free: 6.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1658, allocations: 0 / 0.5074 GB, free: 6.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1658, allocations: 0 / 0.5074 GB, free: 6.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1659, allocations: 1.375 kB / 0.5074 GB, free: 6.883 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.0007053/0.1666, allocations: 0.52 MB / 0.5079 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1666, allocations: 9.781 kB / 0.5079 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.1667, allocations: 28.06 kB / 0.5079 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1669, allocations: 254.6 kB / 0.5082 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.167, allocations: 14.56 kB / 0.5082 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.167, allocations: 18.09 kB / 0.5082 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1673, allocations: 190.6 kB / 0.5084 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1674, allocations: 1.25 kB / 0.5084 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1674, allocations: 9.094 kB / 0.5084 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1674, allocations: 4.094 kB / 0.5084 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.1681, allocations: 0.7389 MB / 0.5091 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.169, allocations: 0.5471 MB / 0.5097 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1693, allocations: 227.9 kB / 0.5099 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1694, allocations: 104.8 kB / 0.51 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.1695, allocations: 31.95 kB / 0.51 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.1698, allocations: 165.5 kB / 0.5102 GB, free: 4.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.1698, allocations: 0 / 0.5102 GB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005554/0.1704, allocations: 358.7 kB / 0.5105 GB, free: 3.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1704, allocations: 81.11 kB / 0.5106 GB, free: 3.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1707, allocations: 291.1 kB / 0.5109 GB, free: 3.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1707, allocations: 29.7 kB / 0.5109 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1707, allocations: 124.7 kB / 0.511 GB, free: 3.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.1708, allocations: 110.4 kB / 0.5111 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.1709, allocations: 57.7 kB / 0.5112 GB, free: 3.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.171, allocations: 334.8 kB / 0.5115 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1711, allocations: 83.95 kB / 0.5116 GB, free: 2.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1712, allocations: 110.7 kB / 0.5117 GB, free: 2.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1714, allocations: 200.7 kB / 0.5119 GB, free: 2.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1714, allocations: 4.031 kB / 0.5119 GB, free: 2.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003075/0.1718, allocations: 273.7 kB / 0.5121 GB, free: 2.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1718, allocations: 4 kB / 0.5121 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1718, allocations: 4 kB / 0.5122 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1718, allocations: 3.938 kB / 0.5122 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.172, allocations: 59.84 kB / 0.5122 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.172, allocations: 4 kB / 0.5122 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.1721, allocations: 15.84 kB / 0.5122 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1721, allocations: 15.98 kB / 0.5122 GB, free: 1.965 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.0001005/0.1722, allocations: 161.8 kB / 0.5124 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1723, allocations: 27.62 kB / 0.5124 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.1723, allocations: 38.64 kB / 0.5125 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1723, allocations: 7.938 kB / 0.5125 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1723, allocations: 0 / 0.5125 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1724, allocations: 0 / 0.5125 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1726, allocations: 313.3 kB / 0.5128 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1726, allocations: 0 / 0.5128 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1728, allocations: 63.97 kB / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1728, allocations: 3.938 kB / 0.5128 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1728, allocations: 11.98 kB / 0.5128 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1728, allocations: 7.938 kB / 0.5129 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1728, allocations: 0 / 0.5129 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.1732, allocations: 300.6 kB / 0.5131 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.1733, allocations: 140.7 kB / 0.5133 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1733, allocations: 4 kB / 0.5133 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1734, allocations: 15.94 kB / 0.5133 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1734, allocations: 23.97 kB / 0.5133 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1734, allocations: 11.98 kB / 0.5133 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1736, allocations: 220.6 kB / 0.5135 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1736, allocations: 0 / 0.5135 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1738, allocations: 59.94 kB / 0.5136 GB, free: 500 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.0008609/0.1747, allocations: 404.3 kB / 0.514 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.175, allocations: 220.3 kB / 0.5142 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.175, allocations: 0 / 0.5142 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.1752, allocations: 132.3 kB / 0.5143 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1755, allocations: 31.22 kB / 0.5143 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.1763, allocations: 0.4966 MB / 0.5148 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1766, allocations: 0.7501 MB / 0.5156 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002865/0.1769, allocations: 142.1 kB / 0.5157 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.177, allocations: 43.42 kB / 0.5157 GB, free: 14.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.177, allocations: 0 / 0.5157 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Templates: time 0.005655/0.1827, allocations: 2.519 MB / 0.5182 GB, free: 11.87 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)