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.001213/0.001213, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 192 kB / 16.53 MB, free: 6.391 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.588/1.588, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4231/0.4231, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.00143/0.00143, allocations: 71.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1434, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.3131/0.4566, allocations: 1.688 MB / 456.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.4588, allocations: 1.532 MB / 458.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.4589, allocations: 3.828 kB / 458.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.4592, allocations: 30.56 kB / 458.2 MB, free: 38.32 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.0002547/0.4594, allocations: 48.39 kB / 458.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.4598, allocations: 116.7 kB / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.4601, allocations: 219.1 kB / 458.6 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4603, allocations: 21.52 kB / 458.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4604, allocations: 74.72 kB / 458.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.4607, allocations: 82.02 kB / 458.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.4607, allocations: 14.94 kB / 458.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.461, allocations: 119.1 kB / 458.9 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.4611, allocations: 78.08 kB / 458.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.4612, allocations: 100.2 kB / 459 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.4616, allocations: 289.2 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4616, allocations: 6.281 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4616, allocations: 1.562 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4616, allocations: 1.688 kB / 459.3 MB, free: 38.13 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.000767/0.4624, allocations: 0.5276 MB / 459.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4624, allocations: 14.09 kB / 459.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.4626, allocations: 26.47 kB / 459.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.4628, allocations: 263.8 kB / 460.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4629, allocations: 15.3 kB / 460.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.4629, allocations: 16.09 kB / 460.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.4632, allocations: 192.6 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4632, allocations: 0.5625 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.4633, allocations: 6.031 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4633, allocations: 2.844 kB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.464, allocations: 0.7397 MB / 461.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.4649, allocations: 0.5642 MB / 461.7 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.4653, allocations: 304.9 kB / 462 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4655, allocations: 106.4 kB / 462.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/0.466, allocations: 459.6 kB / 462.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.4663, allocations: 171.9 kB / 462.7 MB, free: 36.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.4663, allocations: 0 / 462.7 MB, free: 36.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.000575/0.4669, allocations: 381.2 kB / 463.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.467, allocations: 79.95 kB / 463.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4672, allocations: 296.9 kB / 463.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4672, allocations: 32.27 kB / 463.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.4673, allocations: 116.6 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.4674, allocations: 117.5 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.4675, allocations: 70.95 kB / 463.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.4675, allocations: 335.4 kB / 464.1 MB, free: 35.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4677, allocations: 78.31 kB / 464.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4678, allocations: 111.6 kB / 464.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.4681, allocations: 220.1 kB / 464.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4681, allocations: 1.25 kB / 464.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003979/0.4685, allocations: 276.6 kB / 464.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4686, allocations: 5.625 kB / 464.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4686, allocations: 4.469 kB / 464.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4686, allocations: 0 / 464.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.4688, allocations: 64.06 kB / 464.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4688, allocations: 0 / 464.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.4689, allocations: 24.03 kB / 464.9 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.469, allocations: 16.5 kB / 464.9 MB, free: 35.08 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.0001171/0.4691, allocations: 161.2 kB / 465 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.4691, allocations: 24.94 kB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.4696, allocations: 327 kB / 465.4 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4696, allocations: 8.5 kB / 465.4 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4696, allocations: 0 / 465.4 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4696, allocations: 0 / 465.4 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.4699, allocations: 324.7 kB / 465.7 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4699, allocations: 0 / 465.7 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.47, allocations: 65.58 kB / 465.8 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4701, allocations: 1.75 kB / 465.8 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4701, allocations: 16.78 kB / 465.8 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4701, allocations: 0.6875 kB / 465.8 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4701, allocations: 2.844 kB / 465.8 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.4705, allocations: 322.2 kB / 466.1 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.4706, allocations: 139.4 kB / 466.3 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.4706, allocations: 7.938 kB / 466.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.4707, allocations: 10.69 kB / 466.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.4708, allocations: 25.52 kB / 466.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4708, allocations: 17.16 kB / 466.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.471, allocations: 232.8 kB / 466.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.471, allocations: 0 / 466.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4712, allocations: 66.47 kB / 466.6 MB, free: 34.1 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.001029/0.4723, allocations: 413.7 kB / 467 MB, free: 33.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.4728, allocations: 304.8 kB / 467.3 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4728, allocations: 0 / 467.3 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.473, allocations: 130.9 kB / 467.4 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.4732, allocations: 38.34 kB / 467.5 MB, free: 33.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.474, allocations: 0.5091 MB / 468 MB, free: 33.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4743, allocations: 0.7541 MB / 468.7 MB, free: 32.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.4746, allocations: 146.5 kB / 468.9 MB, free: 32.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.4747, allocations: 44.91 kB / 468.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4747, allocations: 0 / 468.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of Templates: time 0.006525/0.4813, allocations: 2.848 MB / 471.8 MB, free: 32.63 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)