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.001063/0.001063, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007827/0.007827, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.552/1.552, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3966/0.3966, allocations: 55 MB / 325.7 MB, free: 0.5508 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.0005813/0.0005811, allocations: 16 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4272, allocations: 60.73 MB / 458 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002063/0.4293, allocations: 1.289 MB / 459.3 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.4312, allocations: 1.042 MB / 460.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.4312, allocations: 2.812 kB / 460.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.4315, allocations: 21.8 kB / 460.3 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.4316, allocations: 33.81 kB / 460.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.4319, allocations: 85.81 kB / 460.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.4322, allocations: 190 kB / 460.6 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4323, allocations: 21.88 kB / 460.7 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.4324, allocations: 57.16 kB / 460.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.4326, allocations: 75.08 kB / 460.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4326, allocations: 5.812 kB / 460.8 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.4328, allocations: 83.69 kB / 460.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.4329, allocations: 69 kB / 460.9 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.433, allocations: 112.6 kB / 461.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.4333, allocations: 252.8 kB / 461.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4333, allocations: 0.5625 kB / 461.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4333, allocations: 0 / 461.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4333, allocations: 1.562 kB / 461.3 MB, free: 38.39 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.000613/0.4339, allocations: 483.3 kB / 461.8 MB, free: 37.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.434, allocations: 12.69 kB / 461.8 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.4343, allocations: 43.48 kB / 461.8 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4345, allocations: 256.5 kB / 462.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4345, allocations: 15 kB / 462.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.4346, allocations: 13.03 kB / 462.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4349, allocations: 200.4 kB / 462.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.435, allocations: 3.188 kB / 462.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.435, allocations: 10.84 kB / 462.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.435, allocations: 3 kB / 462.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.4359, allocations: 0.7537 MB / 463.1 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.4368, allocations: 0.5551 MB / 463.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.4374, allocations: 319 kB / 463.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.4376, allocations: 111.5 kB / 464 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.609e-05/0.4376, allocations: 23.48 kB / 464.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.438, allocations: 177.8 kB / 464.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.438, allocations: 0 / 464.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006986/0.4387, allocations: 380.2 kB / 464.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4387, allocations: 91.92 kB / 464.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.439, allocations: 291.3 kB / 465 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.439, allocations: 38.33 kB / 465 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4391, allocations: 121.5 kB / 465.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.4392, allocations: 107.7 kB / 465.3 MB, free: 36.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.4393, allocations: 31.33 kB / 465.3 MB, free: 36.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.4393, allocations: 339.8 kB / 465.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.4395, allocations: 84.42 kB / 465.7 MB, free: 36.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.4397, allocations: 112.5 kB / 465.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.4402, allocations: 226.6 kB / 466 MB, free: 36.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4402, allocations: 2.781 kB / 466 MB, free: 36.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004986/0.4407, allocations: 291.7 kB / 466.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4407, allocations: 3 kB / 466.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4407, allocations: 3.969 kB / 466.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4408, allocations: 0 / 466.3 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.441, allocations: 71.3 kB / 466.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.441, allocations: 3.328 kB / 466.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4411, allocations: 25.3 kB / 466.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.4412, allocations: 10.09 kB / 466.4 MB, free: 36.4 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.0001754/0.4414, allocations: 163.2 kB / 466.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.4414, allocations: 24.77 kB / 466.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.4422, allocations: 388.2 kB / 467 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4422, allocations: 7.719 kB / 467 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4422, allocations: 0 / 467 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4422, allocations: 6.156 kB / 467 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4424, allocations: 327.9 kB / 467.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4424, allocations: 0 / 467.3 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4426, allocations: 60.97 kB / 467.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4427, allocations: 3.734 kB / 467.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4427, allocations: 10.7 kB / 467.4 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4427, allocations: 13.66 kB / 467.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4427, allocations: 0 / 467.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.4432, allocations: 325.2 kB / 467.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.4433, allocations: 140.1 kB / 467.9 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4433, allocations: 8 kB / 467.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4434, allocations: 22.56 kB / 467.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.4435, allocations: 18.23 kB / 467.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4435, allocations: 15.91 kB / 467.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4437, allocations: 221.3 kB / 468.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4437, allocations: 0 / 468.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.444, allocations: 54.78 kB / 468.2 MB, free: 35.41 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.0009221/0.4449, allocations: 408.7 kB / 468.6 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.4453, allocations: 239.6 kB / 468.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4453, allocations: 0 / 468.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4455, allocations: 135.5 kB / 469 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4458, allocations: 31.48 kB / 469 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.4466, allocations: 0.5681 MB / 469.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.4469, allocations: 0.7515 MB / 470.3 MB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000306/0.4472, allocations: 143.4 kB / 470.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.4473, allocations: 43.05 kB / 470.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4473, allocations: 0 / 470.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005607/0.4529, allocations: 2.471 MB / 473 MB, free: 33.88 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: