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.001432/0.001433, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001773/0.001773, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.524/1.524, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4356/0.4356, allocations: 54.94 MB / 324.4 MB, free: 108 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.00139/0.00139, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 59.59 MB / 454.5 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.2618/0.4064, allocations: 1.751 MB / 456.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4087, allocations: 1.512 MB / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.4088, allocations: 0 / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.4092, allocations: 18 kB / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.4094, allocations: 39.52 kB / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.4098, allocations: 117.1 kB / 457.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.4102, allocations: 207 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.4103, allocations: 22.72 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.4105, allocations: 73.2 kB / 458.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.4107, allocations: 89.41 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.4108, allocations: 15.28 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.411, allocations: 126.8 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4112, allocations: 74.08 kB / 458.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.4113, allocations: 103.2 kB / 458.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.4117, allocations: 280.4 kB / 458.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4118, allocations: 0 / 458.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4118, allocations: 1 kB / 458.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4118, allocations: 0 / 458.9 MB, free: 38.11 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.0009085/0.4127, allocations: 0.5408 MB / 459.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4128, allocations: 11.28 kB / 459.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.413, allocations: 28.31 kB / 459.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4132, allocations: 260.9 kB / 459.7 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4133, allocations: 11.69 kB / 459.7 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.4133, allocations: 17.19 kB / 459.8 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.4137, allocations: 196 kB / 459.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4137, allocations: 2.062 kB / 459.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.4137, allocations: 6.531 kB / 460 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.4137, allocations: 2.625 kB / 460 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008899/0.4146, allocations: 0.7381 MB / 460.7 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.4155, allocations: 0.5649 MB / 461.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.4159, allocations: 303.3 kB / 461.6 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4161, allocations: 108.4 kB / 461.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005788/0.4167, allocations: 461.2 kB / 462.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.417, allocations: 174.6 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.417, allocations: 0 / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.000618/0.4176, allocations: 376.8 kB / 462.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.4177, allocations: 80.64 kB / 462.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.418, allocations: 291.1 kB / 463 MB, free: 36.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.418, allocations: 37.73 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.4181, allocations: 118.1 kB / 463.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.4181, allocations: 114 kB / 463.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.4182, allocations: 67.64 kB / 463.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.4183, allocations: 339.2 kB / 463.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4184, allocations: 76.33 kB / 463.8 MB, free: 35.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4186, allocations: 114.2 kB / 463.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4188, allocations: 214.7 kB / 464.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4189, allocations: 0 / 464.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004064/0.4193, allocations: 282.1 kB / 464.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4193, allocations: 5.594 kB / 464.4 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4193, allocations: 5.609 kB / 464.4 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4193, allocations: 0.75 kB / 464.4 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.4196, allocations: 61.95 kB / 464.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.4196, allocations: 4.5 kB / 464.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.4197, allocations: 25.38 kB / 464.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4197, allocations: 12.5 kB / 464.5 MB, free: 35.24 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.0001433/0.4199, allocations: 158.1 kB / 464.6 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.4199, allocations: 23.72 kB / 464.6 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.4206, allocations: 393 kB / 465 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4206, allocations: 3.625 kB / 465 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4206, allocations: 0 / 465 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4206, allocations: 3.844 kB / 465 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.4209, allocations: 334 kB / 465.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4209, allocations: 0 / 465.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4211, allocations: 55.44 kB / 465.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4211, allocations: 2.875 kB / 465.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4211, allocations: 14.16 kB / 465.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4211, allocations: 3.969 kB / 465.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4211, allocations: 0 / 465.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.4215, allocations: 318.6 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.4216, allocations: 137 kB / 465.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.4217, allocations: 16.33 kB / 465.9 MB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.4217, allocations: 10 kB / 465.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.4218, allocations: 25.98 kB / 465.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4218, allocations: 17.25 kB / 465.9 MB, free: 34.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.422, allocations: 231.7 kB / 466.2 MB, free: 34.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.422, allocations: 2.812 kB / 466.2 MB, free: 34.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000296/0.4223, allocations: 62.06 kB / 466.2 MB, free: 34.25 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.0009904/0.4233, allocations: 429.1 kB / 466.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004527/0.4238, allocations: 306.3 kB / 467 MB, free: 34.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4238, allocations: 0 / 467 MB, free: 34.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4239, allocations: 127 kB / 467.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4242, allocations: 32.61 kB / 467.1 MB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007693/0.425, allocations: 0.5933 MB / 467.7 MB, free: 33.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4252, allocations: 0.7552 MB / 468.5 MB, free: 32.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00028/0.4255, allocations: 144.6 kB / 468.6 MB, free: 32.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.4256, allocations: 37.86 kB / 468.6 MB, free: 32.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4256, allocations: 0 / 468.6 MB, free: 32.92 MB / 382.1 MB Notification: Performance of Templates: time 0.006383/0.432, allocations: 2.856 MB / 471.5 MB, free: 32.69 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (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)