Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00113/0.00113, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.499/1.499, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4262/0.4262, 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.001378/0.001378, allocations: 63.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1413, allocations: 59.59 MB / 454.5 MB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.2843/0.4257, allocations: 1.632 MB / 456.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.427, allocations: 1.049 MB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.4271, allocations: 0 / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.4274, allocations: 17.22 kB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.4276, allocations: 40.48 kB / 457.2 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.4279, allocations: 87.38 kB / 457.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.4281, allocations: 210.8 kB / 457.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4282, allocations: 25 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.4283, allocations: 60.73 kB / 457.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.4285, allocations: 78.06 kB / 457.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.4285, allocations: 15.28 kB / 457.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4287, allocations: 95.59 kB / 457.8 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.4288, allocations: 76.44 kB / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.4289, allocations: 96.2 kB / 458 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.4292, allocations: 258 kB / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4292, allocations: 0 / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4292, allocations: 2.031 kB / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4293, allocations: 0 / 458.2 MB, free: 38.31 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007469/0.43, allocations: 0.515 MB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4301, allocations: 9.219 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.4304, allocations: 44.92 kB / 458.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4307, allocations: 263 kB / 459 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4307, allocations: 9.344 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.4308, allocations: 14.72 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.4311, allocations: 204.9 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4311, allocations: 0 / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.4312, allocations: 4.719 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4312, allocations: 6.875 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.432, allocations: 0.7546 MB / 460 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.4328, allocations: 0.5561 MB / 460.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.4334, allocations: 318.2 kB / 460.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.4335, allocations: 113.3 kB / 461 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.4336, allocations: 18.69 kB / 461 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.4339, allocations: 182.9 kB / 461.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.434, allocations: 0.8906 kB / 461.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007058/0.4347, allocations: 383.1 kB / 461.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4347, allocations: 87.58 kB / 461.7 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4349, allocations: 293.9 kB / 462 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.435, allocations: 29.7 kB / 462 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.435, allocations: 121.6 kB / 462.1 MB, free: 36.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.4351, allocations: 115 kB / 462.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.4352, allocations: 65.7 kB / 462.3 MB, free: 36.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.4353, allocations: 335.8 kB / 462.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4354, allocations: 85.39 kB / 462.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.4356, allocations: 118.1 kB / 462.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.436, allocations: 230 kB / 463 MB, free: 36.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.436, allocations: 0 / 463 MB, free: 36.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004304/0.4364, allocations: 285 kB / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4364, allocations: 2.875 kB / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4364, allocations: 4.156 kB / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4365, allocations: 0 / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.4367, allocations: 65.62 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4367, allocations: 3.062 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.4368, allocations: 26.06 kB / 463.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.4369, allocations: 12.98 kB / 463.4 MB, free: 36.05 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 (35): * Single equations (assignments): 35 * 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.000134/0.437, allocations: 160.4 kB / 463.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.4371, allocations: 23.5 kB / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.4378, allocations: 392.4 kB / 464 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4378, allocations: 9.047 kB / 464 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4378, allocations: 0 / 464 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4378, allocations: 6.812 kB / 464 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.438, allocations: 325.4 kB / 464.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4381, allocations: 5.281 kB / 464.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4383, allocations: 61 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4383, allocations: 3.188 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4383, allocations: 9.75 kB / 464.4 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4383, allocations: 3.938 kB / 464.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4383, allocations: 2.062 kB / 464.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4388, allocations: 328.1 kB / 464.7 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.4389, allocations: 138.5 kB / 464.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.4389, allocations: 7.062 kB / 464.9 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.439, allocations: 15.31 kB / 464.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.4391, allocations: 28.12 kB / 464.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4391, allocations: 11.84 kB / 464.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.4393, allocations: 218.3 kB / 465.1 MB, free: 35.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4393, allocations: 0 / 465.1 MB, free: 35.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.4396, allocations: 54.16 kB / 465.2 MB, free: 35.07 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 (34): * Single equations (assignments): 33 * 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.0009942/0.4406, allocations: 408.4 kB / 465.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.4411, allocations: 321.5 kB / 465.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4411, allocations: 6.906 kB / 465.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4414, allocations: 129.7 kB / 466 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4417, allocations: 30.7 kB / 466.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.4425, allocations: 0.5654 MB / 466.6 MB, free: 34.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.4427, allocations: 0.753 MB / 467.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.443, allocations: 150.6 kB / 467.5 MB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.4431, allocations: 42.75 kB / 467.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4431, allocations: 3.938 kB / 467.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005666/0.4488, allocations: 2.566 MB / 470.1 MB, free: 33.54 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)