Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008342/0.0008344, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.005388/0.005388, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.599/1.599, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4068/0.4068, allocations: 55.01 MB / 325.8 MB, free: 0.5703 MB / 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.000553/0.000553, allocations: 20.66 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4369, allocations: 60.72 MB / 458 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002704/0.4397, allocations: 1.411 MB / 459.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.4423, allocations: 1.502 MB / 460.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.4423, allocations: 0 / 460.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.4426, allocations: 14.8 kB / 460.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.4428, allocations: 50.23 kB / 461 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.4431, allocations: 101.4 kB / 461.1 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.4433, allocations: 196.2 kB / 461.2 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4435, allocations: 23.55 kB / 461.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.4436, allocations: 66.39 kB / 461.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.4438, allocations: 75.48 kB / 461.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.4438, allocations: 7.969 kB / 461.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.444, allocations: 111.2 kB / 461.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.4441, allocations: 74.62 kB / 461.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.4442, allocations: 112.3 kB / 461.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.4445, allocations: 280.3 kB / 462 MB, free: 38.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4446, allocations: 0 / 462 MB, free: 38.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4446, allocations: 1.281 kB / 462 MB, free: 38.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.4446, allocations: 2.625 kB / 462 MB, free: 38.66 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.0006488/0.4452, allocations: 499.6 kB / 462.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4453, allocations: 13.66 kB / 462.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4454, allocations: 30.75 kB / 462.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.4457, allocations: 259.4 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.4458, allocations: 15.44 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4458, allocations: 19.28 kB / 462.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.4461, allocations: 192.7 kB / 463 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4461, allocations: 0 / 463 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4462, allocations: 7.25 kB / 463 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4462, allocations: 2.812 kB / 463 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.4471, allocations: 0.7371 MB / 463.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.448, allocations: 0.5636 MB / 464.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.4484, allocations: 300.4 kB / 464.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.4486, allocations: 109.1 kB / 464.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/0.4492, allocations: 457.5 kB / 465.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.4495, allocations: 176.1 kB / 465.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.4495, allocations: 0 / 465.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006989/0.4502, allocations: 376 kB / 465.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4503, allocations: 80.89 kB / 465.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.4506, allocations: 294 kB / 466.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4507, allocations: 34.05 kB / 466.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.4508, allocations: 119.8 kB / 466.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.4509, allocations: 119 kB / 466.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.4509, allocations: 34.7 kB / 466.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.451, allocations: 340.6 kB / 466.7 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4512, allocations: 81.16 kB / 466.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4513, allocations: 113.8 kB / 466.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.4516, allocations: 214.7 kB / 467.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4516, allocations: 0 / 467.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003825/0.452, allocations: 274.2 kB / 467.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.452, allocations: 7.594 kB / 467.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.452, allocations: 6.125 kB / 467.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.452, allocations: 1.219 kB / 467.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4522, allocations: 59.98 kB / 467.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4523, allocations: 0 / 467.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.4523, allocations: 25.25 kB / 467.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4524, allocations: 13.03 kB / 467.5 MB, free: 36.01 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 (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.0001164/0.4525, allocations: 164.8 kB / 467.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.4525, allocations: 21.38 kB / 467.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005875/0.4531, allocations: 398.6 kB / 468 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4531, allocations: 2.812 kB / 468 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4532, allocations: 7.25 kB / 468 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4532, allocations: 0 / 468 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.4534, allocations: 323.2 kB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4534, allocations: 0.5625 kB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.4536, allocations: 64.39 kB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4536, allocations: 0.9375 kB / 468.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4537, allocations: 15.02 kB / 468.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4537, allocations: 3.781 kB / 468.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4537, allocations: 0 / 468.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.454, allocations: 314 kB / 468.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.4541, allocations: 142.7 kB / 468.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.4542, allocations: 11.56 kB / 468.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.4543, allocations: 10.22 kB / 468.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4543, allocations: 24.89 kB / 468.9 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4543, allocations: 15.89 kB / 469 MB, free: 35.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.4545, allocations: 227.4 kB / 469.2 MB, free: 35.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4545, allocations: 3 kB / 469.2 MB, free: 35.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.4548, allocations: 70.25 kB / 469.2 MB, free: 35 MB / 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 (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.0009227/0.4557, allocations: 421 kB / 469.7 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.4561, allocations: 232.1 kB / 469.9 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4561, allocations: 0 / 469.9 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.4563, allocations: 130.5 kB / 470 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4565, allocations: 32.28 kB / 470 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.4573, allocations: 0.5922 MB / 470.6 MB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.4575, allocations: 0.7622 MB / 471.4 MB, free: 33.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000288/0.4578, allocations: 149.8 kB / 471.5 MB, free: 33.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.4578, allocations: 40.44 kB / 471.6 MB, free: 33.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4578, allocations: 0 / 471.6 MB, free: 33.64 MB / 382.1 MB Notification: Performance of Templates: time 0.005902/0.4638, allocations: 2.747 MB / 474.3 MB, free: 33.42 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1) Environment - environmentSimulation: