Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01053/0.01053, 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.002041/0.002041, allocations: 193.2 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.72/1.72, 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.4125/0.4125, allocations: 54.94 MB / 324.8 MB, free: 15.94 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.001428/0.001428, allocations: 74.95 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 59.59 MB / 0.5037 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.00268/0.1155, allocations: 1.727 MB / 0.5054 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1175, allocations: 1.143 MB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1176, allocations: 1.375 kB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1179, allocations: 31.8 kB / 0.5066 GB, free: 7.406 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.0002152/0.1181, allocations: 54.7 kB / 0.5066 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1184, allocations: 126.8 kB / 0.5067 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1187, allocations: 236.4 kB / 0.507 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1188, allocations: 31.12 kB / 0.507 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.1189, allocations: 78.81 kB / 0.5071 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1191, allocations: 94.64 kB / 0.5071 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1192, allocations: 16.16 kB / 0.5072 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1194, allocations: 119.2 kB / 0.5073 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.1195, allocations: 76.88 kB / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.1196, allocations: 108.5 kB / 0.5075 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1199, allocations: 315.2 kB / 0.5078 GB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1199, allocations: 4 kB / 0.5078 GB, free: 6.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1199, allocations: 0 / 0.5078 GB, free: 6.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.12, allocations: 0 / 0.5078 GB, free: 6.621 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.0007653/0.1207, allocations: 0.5563 MB / 0.5083 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1208, allocations: 13.14 kB / 0.5083 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1208, allocations: 34.38 kB / 0.5083 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1211, allocations: 274 kB / 0.5086 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1211, allocations: 10.88 kB / 0.5086 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1211, allocations: 23.03 kB / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.1215, allocations: 208.6 kB / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1215, allocations: 1.219 kB / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.1215, allocations: 9.953 kB / 0.5089 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1215, allocations: 3.719 kB / 0.5089 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.1222, allocations: 0.7451 MB / 0.5096 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.1228, allocations: 0.5938 MB / 0.5102 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.1232, allocations: 324 kB / 0.5105 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1234, allocations: 109.4 kB / 0.5106 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/0.1238, allocations: 461.4 kB / 0.511 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.1241, allocations: 183 kB / 0.5112 GB, free: 3.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.1241, allocations: 0 / 0.5112 GB, free: 3.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.0005448/0.1247, allocations: 396.5 kB / 0.5116 GB, free: 2.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1247, allocations: 81.11 kB / 0.5116 GB, free: 2.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1249, allocations: 305 kB / 0.5119 GB, free: 2.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.125, allocations: 29.7 kB / 0.512 GB, free: 2.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.125, allocations: 137 kB / 0.5121 GB, free: 2.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1251, allocations: 126.7 kB / 0.5122 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1252, allocations: 73.58 kB / 0.5123 GB, free: 1.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.1252, allocations: 334.8 kB / 0.5126 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1254, allocations: 87.95 kB / 0.5127 GB, free: 1.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1255, allocations: 118.6 kB / 0.5128 GB, free: 1.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1258, allocations: 228.9 kB / 0.513 GB, free: 1.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1258, allocations: 4.031 kB / 0.513 GB, free: 1.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003464/0.1261, allocations: 285.2 kB / 0.5133 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1261, allocations: 11.94 kB / 0.5133 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1261, allocations: 0 / 0.5133 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1262, allocations: 0 / 0.5133 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1264, allocations: 63.91 kB / 0.5134 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1264, allocations: 3.984 kB / 0.5134 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.1265, allocations: 31.78 kB / 0.5134 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1265, allocations: 8 kB / 0.5134 GB, free: 0.7305 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 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001084/0.1266, allocations: 177.7 kB / 0.5136 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1267, allocations: 31.75 kB / 0.5136 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1271, allocations: 348.3 kB / 0.5139 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1271, allocations: 4 kB / 0.5139 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1271, allocations: 4 kB / 0.5139 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1272, allocations: 0 / 0.5139 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.1275, allocations: 337.3 kB / 0.5143 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1275, allocations: 0 / 0.5143 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1277, allocations: 63.89 kB / 0.5143 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1277, allocations: 3.938 kB / 0.5143 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1277, allocations: 16 kB / 0.5144 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1277, allocations: 0 / 0.5144 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1277, allocations: 0 / 0.5144 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.1282, allocations: 333.2 kB / 0.5147 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1283, allocations: 148.8 kB / 0.5148 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1283, allocations: 7.938 kB / 0.5148 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.1284, allocations: 11.98 kB / 0.5148 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.1285, allocations: 27.91 kB / 0.5149 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.1285, allocations: 16 kB / 0.5149 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1287, allocations: 232.4 kB / 0.5151 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1287, allocations: 0 / 0.5151 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.129, allocations: 71.86 kB / 0.5152 GB, free: 14.82 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,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.0009458/0.13, allocations: 418.3 kB / 0.5156 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.1304, allocations: 247.7 kB / 0.5158 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1304, allocations: 0 / 0.5158 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1306, allocations: 139.8 kB / 0.5159 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1309, allocations: 47.16 kB / 0.516 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.1317, allocations: 0.5271 MB / 0.5165 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1321, allocations: 0.7611 MB / 0.5172 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.1325, allocations: 146.9 kB / 0.5174 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.1326, allocations: 47.41 kB / 0.5174 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1326, allocations: 0 / 0.5174 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.007281/0.1398, allocations: 3.227 MB / 0.5206 GB, free: 9.375 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)