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.005428/0.005428, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001117/0.001117, allocations: 191 kB / 16.67 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4196/0.4196, allocations: 54.96 MB / 324.8 MB, free: 60 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.001433/0.001433, allocations: 73.56 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 59.59 MB / 0.5038 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002542/0.1297, allocations: 1.573 MB / 0.5053 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.131, allocations: 1.071 MB / 0.5064 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.1311, allocations: 3.938 kB / 0.5064 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1313, allocations: 24.48 kB / 0.5064 GB, free: 7.727 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.0001885/0.1315, allocations: 38.78 kB / 0.5064 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1318, allocations: 95.39 kB / 0.5065 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.132, allocations: 213.5 kB / 0.5067 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1321, allocations: 24.36 kB / 0.5067 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1322, allocations: 66.39 kB / 0.5068 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1324, allocations: 79.34 kB / 0.5069 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1324, allocations: 14.44 kB / 0.5069 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1326, allocations: 86.58 kB / 0.507 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.1327, allocations: 72.56 kB / 0.507 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.1328, allocations: 97.39 kB / 0.5071 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1331, allocations: 267.6 kB / 0.5074 GB, free: 7.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1331, allocations: 4 kB / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1331, allocations: 1.312 kB / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1331, allocations: 3.938 kB / 0.5074 GB, free: 7.066 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.0008133/0.1339, allocations: 0.5153 MB / 0.5079 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.134, allocations: 10.06 kB / 0.5079 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.1343, allocations: 44.16 kB / 0.508 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1346, allocations: 255.4 kB / 0.5082 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1346, allocations: 19.98 kB / 0.5082 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.1346, allocations: 12 kB / 0.5082 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.135, allocations: 203.6 kB / 0.5084 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.135, allocations: 0 / 0.5084 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1351, allocations: 7.984 kB / 0.5084 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1351, allocations: 4 kB / 0.5084 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.1359, allocations: 0.7451 MB / 0.5092 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.1366, allocations: 0.5629 MB / 0.5097 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.1371, allocations: 324.5 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1373, allocations: 117.4 kB / 0.5101 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.1374, allocations: 16.25 kB / 0.5102 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.1377, allocations: 180.8 kB / 0.5103 GB, free: 3.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.1377, allocations: 0 / 0.5103 GB, free: 3.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006439/0.1384, allocations: 393.9 kB / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1384, allocations: 81.11 kB / 0.5108 GB, free: 3.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1386, allocations: 283 kB / 0.511 GB, free: 3.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1386, allocations: 33.7 kB / 0.5111 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1387, allocations: 124.6 kB / 0.5112 GB, free: 3.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.1387, allocations: 114.4 kB / 0.5113 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.1388, allocations: 69.64 kB / 0.5114 GB, free: 2.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.1389, allocations: 334.8 kB / 0.5117 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.139, allocations: 83.94 kB / 0.5118 GB, free: 2.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.1392, allocations: 117.7 kB / 0.5119 GB, free: 2.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.1395, allocations: 229.3 kB / 0.5121 GB, free: 2.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1395, allocations: 4 kB / 0.5121 GB, free: 2.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004027/0.1399, allocations: 277.2 kB / 0.5124 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.14, allocations: 8 kB / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.14, allocations: 0 / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.14, allocations: 3.938 kB / 0.5124 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1402, allocations: 67.84 kB / 0.5124 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1402, allocations: 0 / 0.5124 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.1403, allocations: 31.73 kB / 0.5125 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1404, allocations: 8 kB / 0.5125 GB, free: 1.691 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.0001051/0.1405, allocations: 165.7 kB / 0.5126 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1405, allocations: 23.72 kB / 0.5127 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.1406, allocations: 34.66 kB / 0.5127 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1406, allocations: 11.94 kB / 0.5127 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1406, allocations: 3.984 kB / 0.5127 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1406, allocations: 0 / 0.5127 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1408, allocations: 321.3 kB / 0.513 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1408, allocations: 3.984 kB / 0.513 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.141, allocations: 59.91 kB / 0.5131 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.141, allocations: 0 / 0.5131 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1411, allocations: 8 kB / 0.5131 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1411, allocations: 7.938 kB / 0.5131 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1411, allocations: 0 / 0.5131 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1415, allocations: 328.6 kB / 0.5134 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.1416, allocations: 140.7 kB / 0.5135 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1416, allocations: 8 kB / 0.5136 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.1417, allocations: 11.94 kB / 0.5136 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.1418, allocations: 23.97 kB / 0.5136 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1418, allocations: 15.98 kB / 0.5136 GB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1419, allocations: 224.4 kB / 0.5138 GB, free: 240 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1419, allocations: 0 / 0.5138 GB, free: 240 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1422, allocations: 52 kB / 0.5139 GB, free: 188 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.0008533/0.1431, allocations: 408.6 kB / 0.5143 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.1436, allocations: 239.8 kB / 0.5145 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1436, allocations: 0 / 0.5145 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.1438, allocations: 140.4 kB / 0.5146 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1441, allocations: 31.92 kB / 0.5146 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.1451, allocations: 0.493 MB / 0.5151 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1455, allocations: 0.754 MB / 0.5159 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000351/0.1459, allocations: 138.9 kB / 0.516 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.146, allocations: 43.42 kB / 0.516 GB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.146, allocations: 4 kB / 0.516 GB, free: 14.03 MB / 398.1 MB Notification: Performance of Templates: time 0.006064/0.1521, allocations: 2.637 MB / 0.5186 GB, free: 11.41 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)