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.006664/0.006664, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001226/0.001226, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.95 MB / 324.8 MB, free: 15.88 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.001433/0.001433, allocations: 72.62 kB / 456.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.126, allocations: 59.58 MB / 0.5037 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.002633/0.1287, allocations: 1.666 MB / 0.5054 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1301, allocations: 1.2 MB / 0.5065 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.1302, allocations: 1.75 kB / 0.5065 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1304, allocations: 19.08 kB / 0.5066 GB, free: 7.328 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.0002002/0.1306, allocations: 55.09 kB / 0.5066 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1309, allocations: 106.9 kB / 0.5067 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1311, allocations: 232.2 kB / 0.5069 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1312, allocations: 33.8 kB / 0.507 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.1313, allocations: 78.02 kB / 0.507 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1315, allocations: 95.45 kB / 0.5071 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1315, allocations: 15.12 kB / 0.5071 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1317, allocations: 104.2 kB / 0.5072 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.1317, allocations: 76.62 kB / 0.5073 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.1318, allocations: 105.5 kB / 0.5074 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1321, allocations: 293.7 kB / 0.5077 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1321, allocations: 1.375 kB / 0.5077 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1322, allocations: 0 / 0.5077 GB, free: 6.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1322, allocations: 0 / 0.5077 GB, free: 6.582 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.000775/0.1329, allocations: 0.5383 MB / 0.5082 GB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.133, allocations: 8.062 kB / 0.5082 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.1335, allocations: 70.52 kB / 0.5083 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1338, allocations: 263.4 kB / 0.5085 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1339, allocations: 14.22 kB / 0.5086 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1339, allocations: 15.88 kB / 0.5086 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.1344, allocations: 236.3 kB / 0.5088 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1344, allocations: 0 / 0.5088 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1345, allocations: 6.531 kB / 0.5088 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1345, allocations: 8.625 kB / 0.5088 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.1354, allocations: 0.7729 MB / 0.5096 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.1363, allocations: 0.602 MB / 0.5102 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.1369, allocations: 344.1 kB / 0.5105 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1371, allocations: 121.4 kB / 0.5106 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.1372, allocations: 24.25 kB / 0.5106 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.1375, allocations: 191.9 kB / 0.5108 GB, free: 3.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.1376, allocations: 4 kB / 0.5108 GB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007518/0.1383, allocations: 416.7 kB / 0.5112 GB, free: 3.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1384, allocations: 81.11 kB / 0.5113 GB, free: 3.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1386, allocations: 296.8 kB / 0.5116 GB, free: 2.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1386, allocations: 29.7 kB / 0.5116 GB, free: 2.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1387, allocations: 133 kB / 0.5117 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.1387, allocations: 110.4 kB / 0.5118 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.1388, allocations: 73.62 kB / 0.5119 GB, free: 2.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.1389, allocations: 334.8 kB / 0.5122 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1391, allocations: 95.94 kB / 0.5123 GB, free: 1.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1393, allocations: 122.8 kB / 0.5124 GB, free: 1.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1396, allocations: 241.1 kB / 0.5127 GB, free: 1.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1397, allocations: 0 / 0.5127 GB, free: 1.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004783/0.1401, allocations: 309 kB / 0.513 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1402, allocations: 12 kB / 0.513 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1402, allocations: 3.938 kB / 0.513 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1402, allocations: 0 / 0.513 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.1405, allocations: 67.91 kB / 0.513 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1405, allocations: 3.984 kB / 0.513 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1406, allocations: 23.78 kB / 0.5131 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1406, allocations: 11.98 kB / 0.5131 GB, free: 1.168 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.0001188/0.1408, allocations: 165.8 kB / 0.5132 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1408, allocations: 31.56 kB / 0.5133 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.1409, allocations: 42.62 kB / 0.5133 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1409, allocations: 4 kB / 0.5133 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1409, allocations: 4 kB / 0.5133 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1409, allocations: 0 / 0.5133 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1412, allocations: 345.2 kB / 0.5136 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1412, allocations: 3.938 kB / 0.5136 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1414, allocations: 59.91 kB / 0.5137 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1414, allocations: 4 kB / 0.5137 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1414, allocations: 11.98 kB / 0.5137 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1415, allocations: 0 / 0.5137 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1415, allocations: 3.938 kB / 0.5137 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.1419, allocations: 348.7 kB / 0.514 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1421, allocations: 148.6 kB / 0.5142 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1421, allocations: 4 kB / 0.5142 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1423, allocations: 15.98 kB / 0.5142 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.1423, allocations: 23.97 kB / 0.5142 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1424, allocations: 12 kB / 0.5142 GB, free: 15.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.1426, allocations: 233.6 kB / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1426, allocations: 0 / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1429, allocations: 55.91 kB / 0.5145 GB, free: 15.59 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.0009158/0.1438, allocations: 414.3 kB / 0.5149 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.1443, allocations: 255.7 kB / 0.5152 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1443, allocations: 4 kB / 0.5152 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1446, allocations: 148.5 kB / 0.5153 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1449, allocations: 32.59 kB / 0.5153 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.1458, allocations: 0.5412 MB / 0.5159 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1462, allocations: 0.7571 MB / 0.5166 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003175/0.1465, allocations: 150.8 kB / 0.5167 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1466, allocations: 43.42 kB / 0.5168 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1466, allocations: 0 / 0.5168 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Templates: time 0.006221/0.1528, allocations: 2.789 MB / 0.5195 GB, free: 10.56 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)