Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008049/0.008049, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.00131/0.00131, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.497/1.497, 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.4067/0.4067, allocations: 54.95 MB / 324.8 MB, free: 48 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.001475/0.001475, allocations: 66.45 kB / 456.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1779, allocations: 59.59 MB / 0.5038 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.003958/0.182, allocations: 1.573 MB / 0.5053 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1835, allocations: 1.07 MB / 0.5064 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.1836, allocations: 1.344 kB / 0.5064 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1839, allocations: 28.11 kB / 0.5064 GB, free: 7.867 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.0002082/0.1841, allocations: 46.2 kB / 0.5064 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1844, allocations: 96.17 kB / 0.5065 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.1847, allocations: 204 kB / 0.5067 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1848, allocations: 17.38 kB / 0.5067 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.1849, allocations: 73.33 kB / 0.5068 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1851, allocations: 80.52 kB / 0.5069 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.1852, allocations: 14.25 kB / 0.5069 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1854, allocations: 94.27 kB / 0.507 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1855, allocations: 72.91 kB / 0.5071 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.1856, allocations: 93.06 kB / 0.5072 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.186, allocations: 267.3 kB / 0.5074 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.186, allocations: 0 / 0.5074 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.186, allocations: 1.188 kB / 0.5074 GB, free: 7.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.186, allocations: 0 / 0.5074 GB, free: 7.211 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007469/0.1867, allocations: 0.5266 MB / 0.5079 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1868, allocations: 9.094 kB / 0.5079 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.1871, allocations: 51.64 kB / 0.508 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1874, allocations: 255.9 kB / 0.5082 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1874, allocations: 16 kB / 0.5082 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1874, allocations: 12 kB / 0.5083 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.1878, allocations: 207.6 kB / 0.5085 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1878, allocations: 0 / 0.5085 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1878, allocations: 4 kB / 0.5085 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1879, allocations: 4 kB / 0.5085 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/0.1887, allocations: 0.7489 MB / 0.5092 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.1895, allocations: 0.5629 MB / 0.5097 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.19, allocations: 324.5 kB / 0.51 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.1902, allocations: 113.4 kB / 0.5102 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.1903, allocations: 20.25 kB / 0.5102 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.1907, allocations: 192.8 kB / 0.5104 GB, free: 4.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.1907, allocations: 0 / 0.5104 GB, free: 4.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007454/0.1915, allocations: 390 kB / 0.5107 GB, free: 3.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1916, allocations: 85.11 kB / 0.5108 GB, free: 3.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1918, allocations: 287 kB / 0.5111 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1918, allocations: 33.69 kB / 0.5111 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.1919, allocations: 116.8 kB / 0.5112 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1919, allocations: 119 kB / 0.5113 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.192, allocations: 61.69 kB / 0.5114 GB, free: 3.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.1921, allocations: 334.8 kB / 0.5117 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1923, allocations: 87.95 kB / 0.5118 GB, free: 2.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1925, allocations: 121.6 kB / 0.5119 GB, free: 2.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.1928, allocations: 225.3 kB / 0.5121 GB, free: 2.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1928, allocations: 0 / 0.5121 GB, free: 2.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004481/0.1933, allocations: 285.3 kB / 0.5124 GB, free: 1.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1933, allocations: 4 kB / 0.5124 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1933, allocations: 0 / 0.5124 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1934, allocations: 7.922 kB / 0.5124 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.1936, allocations: 63.91 kB / 0.5125 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1937, allocations: 4 kB / 0.5125 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1938, allocations: 19.84 kB / 0.5125 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1938, allocations: 15.98 kB / 0.5125 GB, free: 1.844 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 (35): * Single equations (assignments): 35 * 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.000112/0.1939, allocations: 161.8 kB / 0.5127 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.194, allocations: 23.86 kB / 0.5127 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.1941, allocations: 34.64 kB / 0.5127 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1941, allocations: 7.938 kB / 0.5127 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1941, allocations: 0 / 0.5127 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1941, allocations: 0 / 0.5127 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1943, allocations: 329.3 kB / 0.5131 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1943, allocations: 7.938 kB / 0.5131 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1945, allocations: 59.91 kB / 0.5131 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1946, allocations: 0 / 0.5131 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.1946, allocations: 19.98 kB / 0.5131 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1946, allocations: 3.938 kB / 0.5131 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1946, allocations: 0 / 0.5131 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.1951, allocations: 324.8 kB / 0.5134 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.1951, allocations: 140.8 kB / 0.5136 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1952, allocations: 7.938 kB / 0.5136 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.1953, allocations: 15.92 kB / 0.5136 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.1954, allocations: 23.97 kB / 0.5136 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1954, allocations: 8 kB / 0.5136 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1955, allocations: 228.3 kB / 0.5139 GB, free: 392 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1956, allocations: 0 / 0.5139 GB, free: 392 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1958, allocations: 59.94 kB / 0.5139 GB, free: 332 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,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001083/0.1969, allocations: 397.1 kB / 0.5143 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005566/0.1975, allocations: 243.7 kB / 0.5145 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1975, allocations: 0 / 0.5145 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.1978, allocations: 132.4 kB / 0.5146 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1981, allocations: 35.86 kB / 0.5147 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1993, allocations: 0.5041 MB / 0.5152 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.1998, allocations: 0.754 MB / 0.5159 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.2002, allocations: 150.8 kB / 0.5161 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.2003, allocations: 43.41 kB / 0.5161 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2003, allocations: 0 / 0.5161 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.006899/0.2072, allocations: 2.635 MB / 0.5187 GB, free: 11.54 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)