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.001181/0.001181, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001654/0.001654, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4203/0.4203, allocations: 54.98 MB / 325.4 MB, free: 0.6914 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.0005563/0.0005565, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3262, allocations: 60.71 MB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.001752/0.328, allocations: 1.39 MB / 458.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3296, allocations: 1.43 MB / 460.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.3296, allocations: 3.094 kB / 460.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.3299, allocations: 18.84 kB / 460.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.33, allocations: 37.92 kB / 460.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3303, allocations: 101.8 kB / 460.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3305, allocations: 137.6 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3306, allocations: 16.81 kB / 460.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3307, allocations: 66.69 kB / 460.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.3309, allocations: 55.03 kB / 460.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3309, allocations: 7.219 kB / 460.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3311, allocations: 89.42 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.3312, allocations: 64.31 kB / 460.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.3313, allocations: 55.58 kB / 460.8 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3315, allocations: 209.5 kB / 461 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3315, allocations: 0 / 461 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3316, allocations: 2.656 kB / 461 MB, free: 37.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3316, allocations: 0.625 kB / 461 MB, free: 37.96 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.000603/0.3322, allocations: 497.2 kB / 461.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3322, allocations: 11.47 kB / 461.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3323, allocations: 31 kB / 461.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3326, allocations: 251.1 kB / 461.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3326, allocations: 11.56 kB / 461.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3327, allocations: 17.5 kB / 461.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.333, allocations: 189.8 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.333, allocations: 0 / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.333, allocations: 10.66 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.333, allocations: 6.453 kB / 462 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.3338, allocations: 0.7318 MB / 462.7 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.3346, allocations: 0.5686 MB / 463.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.335, allocations: 307.1 kB / 463.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.3355, allocations: 453.2 kB / 464 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.3358, allocations: 179.4 kB / 464.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.3359, allocations: 0 / 464.2 MB, free: 36.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005401/0.3364, allocations: 364.2 kB / 464.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3365, allocations: 83.53 kB / 464.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3367, allocations: 294 kB / 464.9 MB, free: 36.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3368, allocations: 32.95 kB / 464.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.3368, allocations: 120.1 kB / 465.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.3369, allocations: 121.5 kB / 465.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3369, allocations: 4.312 kB / 465.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.337, allocations: 337.2 kB / 465.5 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3371, allocations: 80.58 kB / 465.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3373, allocations: 106.3 kB / 465.7 MB, free: 35.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3375, allocations: 110 kB / 465.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3375, allocations: 3.953 kB / 465.8 MB, free: 35.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003447/0.3378, allocations: 273 kB / 466.1 MB, free: 35.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3379, allocations: 2.812 kB / 466.1 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3379, allocations: 3.906 kB / 466.1 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3379, allocations: 0 / 466.1 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3381, allocations: 70.02 kB / 466.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3381, allocations: 0 / 466.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.3382, allocations: 18.19 kB / 466.2 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.3382, allocations: 19.69 kB / 466.2 MB, free: 35.47 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3384, allocations: 156.3 kB / 466.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3384, allocations: 31.42 kB / 466.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.339, allocations: 384.6 kB / 466.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.339, allocations: 3.062 kB / 466.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.339, allocations: 6.562 kB / 466.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.339, allocations: 3.422 kB / 466.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3393, allocations: 328.8 kB / 467.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3393, allocations: 0 / 467.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.3395, allocations: 63.28 kB / 467.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3395, allocations: 0 / 467.1 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.3395, allocations: 14.17 kB / 467.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3395, allocations: 0.8594 kB / 467.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3395, allocations: 3.938 kB / 467.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3399, allocations: 324.8 kB / 467.5 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.34, allocations: 146.4 kB / 467.6 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3401, allocations: 10.45 kB / 467.6 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.3402, allocations: 11.03 kB / 467.6 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3402, allocations: 24.69 kB / 467.7 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3402, allocations: 11.77 kB / 467.7 MB, free: 34.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3404, allocations: 239.2 kB / 467.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3404, allocations: 0 / 467.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3407, allocations: 70.56 kB / 468 MB, free: 34.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009072/0.3416, allocations: 407.6 kB / 468.4 MB, free: 34.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.342, allocations: 225.5 kB / 468.6 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.342, allocations: 3.938 kB / 468.6 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.3421, allocations: 128.7 kB / 468.7 MB, free: 34.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.3424, allocations: 27.66 kB / 468.8 MB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.3431, allocations: 0.5808 MB / 469.3 MB, free: 33.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.3433, allocations: 0.7631 MB / 470.1 MB, free: 33.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000287/0.3436, allocations: 147.7 kB / 470.2 MB, free: 33.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.3437, allocations: 43.92 kB / 470.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3437, allocations: 0 / 470.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005548/0.3493, allocations: 2.68 MB / 473 MB, free: 32.91 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: