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.001189/0.001189, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00195/0.00195, allocations: 168.7 kB / 15.95 MB, free: 204 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.812/1.812, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4706/0.4706, allocations: 55.01 MB / 325.4 MB, free: 0.6211 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.0005534/0.0005535, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5197, allocations: 60.71 MB / 457.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002837/0.5226, allocations: 1.393 MB / 458.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.5253, allocations: 1.44 MB / 460.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.5254, allocations: 0 / 460.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.5257, allocations: 27.67 kB / 460.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.5259, allocations: 34.58 kB / 460.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.5263, allocations: 101.5 kB / 460.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.5266, allocations: 182.9 kB / 460.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.5267, allocations: 19.3 kB / 460.6 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.5269, allocations: 67.28 kB / 460.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.5271, allocations: 70.39 kB / 460.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.5271, allocations: 8.625 kB / 460.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.5274, allocations: 100.5 kB / 460.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.5275, allocations: 67.11 kB / 460.9 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.5275, allocations: 55.45 kB / 460.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.5279, allocations: 210.8 kB / 461.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5279, allocations: 1.125 kB / 461.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5279, allocations: 0 / 461.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.5279, allocations: 0 / 461.1 MB, free: 37.82 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.0007098/0.5286, allocations: 0.4945 MB / 461.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.5287, allocations: 6.031 kB / 461.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5288, allocations: 30.89 kB / 461.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.5291, allocations: 252.8 kB / 461.9 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.5291, allocations: 8.281 kB / 461.9 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.5292, allocations: 18.69 kB / 461.9 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.5295, allocations: 194 kB / 462.1 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5295, allocations: 0 / 462.1 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.5296, allocations: 10.66 kB / 462.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5296, allocations: 5.281 kB / 462.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.5304, allocations: 0.737 MB / 462.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.5313, allocations: 0.5659 MB / 463.4 MB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.5318, allocations: 295.8 kB / 463.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.532, allocations: 112.4 kB / 463.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.5326, allocations: 456.9 kB / 464.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.5329, allocations: 171.8 kB / 464.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.533, allocations: 0.5625 kB / 464.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005788/0.5335, allocations: 368.9 kB / 464.8 MB, free: 36.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.5336, allocations: 82.61 kB / 464.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.5339, allocations: 290.7 kB / 465.2 MB, free: 36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5339, allocations: 36.02 kB / 465.2 MB, free: 35.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.534, allocations: 115.9 kB / 465.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5341, allocations: 126.9 kB / 465.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.5342, allocations: 7.469 kB / 465.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5343, allocations: 338.2 kB / 465.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.5345, allocations: 77.14 kB / 465.9 MB, free: 35.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5346, allocations: 110 kB / 466 MB, free: 35.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.5349, allocations: 112.9 kB / 466.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5349, allocations: 0 / 466.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000444/0.5353, allocations: 274.8 kB / 466.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5353, allocations: 5.25 kB / 466.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5354, allocations: 1.125 kB / 466.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5354, allocations: 0 / 466.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.5356, allocations: 67.52 kB / 466.4 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.5356, allocations: 0.8594 kB / 466.4 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.5357, allocations: 24.77 kB / 466.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.5357, allocations: 9.734 kB / 466.5 MB, free: 35.39 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.0001451/0.5359, allocations: 168 kB / 466.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.5359, allocations: 27.19 kB / 466.7 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.5366, allocations: 385.7 kB / 467 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.5366, allocations: 6.094 kB / 467 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5366, allocations: 0 / 467 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5366, allocations: 3.844 kB / 467 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.537, allocations: 320.3 kB / 467.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.537, allocations: 8.953 kB / 467.4 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.5372, allocations: 63.58 kB / 467.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5372, allocations: 2.906 kB / 467.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5372, allocations: 11.06 kB / 467.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.5372, allocations: 6.188 kB / 467.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5372, allocations: 0 / 467.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.5377, allocations: 317 kB / 467.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5378, allocations: 146.3 kB / 467.9 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.5378, allocations: 7 kB / 467.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.5379, allocations: 17.31 kB / 467.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.538, allocations: 21.94 kB / 467.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.538, allocations: 12.91 kB / 468 MB, free: 34.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.5382, allocations: 233.5 kB / 468.2 MB, free: 34.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5382, allocations: 0 / 468.2 MB, free: 34.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.5385, allocations: 64.69 kB / 468.2 MB, free: 34.37 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.001154/0.5397, allocations: 425 kB / 468.7 MB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.5401, allocations: 230.8 kB / 468.9 MB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5401, allocations: 4 kB / 468.9 MB, free: 34.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.5403, allocations: 117.5 kB / 469 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5405, allocations: 35 kB / 469 MB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.5413, allocations: 0.5801 MB / 469.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.5415, allocations: 0.7535 MB / 470.4 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.5418, allocations: 143.7 kB / 470.5 MB, free: 33.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.5419, allocations: 42.92 kB / 470.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5419, allocations: 0 / 470.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of Templates: time 0.006358/0.5482, allocations: 2.705 MB / 473.3 MB, free: 32.83 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: