Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 191 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.6316 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007665/0.0007662, allocations: 100.1 kB / 0.745 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.00627/0.2409, allocations: 5.915 MB / 0.9865 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7008/0.9418, allocations: 137.6 MB / 1.121 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.943, allocations: 24.56 kB / 1.121 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.9437, allocations: 239.8 kB / 1.121 GB, free: 2.473 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001926/0.9457, allocations: 0.5668 MB / 1.122 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.9482, allocations: 0.757 MB / 1.122 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.9502, allocations: 1.549 MB / 1.124 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.9517, allocations: 1.121 MB / 1.125 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.9525, allocations: 429 kB / 1.125 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.9532, allocations: 0.52 MB / 1.126 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.9533, allocations: 34.75 kB / 1.126 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.9544, allocations: 480.4 kB / 1.126 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.9547, allocations: 281.1 kB / 1.127 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.9552, allocations: 0.5259 MB / 1.127 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.9569, allocations: 1.393 MB / 1.129 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9569, allocations: 1.031 kB / 1.129 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9569, allocations: 0 / 1.129 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.957, allocations: 0 / 1.129 GB, free: 1.008 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002635/0.9596, allocations: 1.384 MB / 1.13 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.9597, allocations: 8.656 kB / 1.13 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.961, allocations: 281 kB / 1.13 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.9625, allocations: 0.9061 MB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.9626, allocations: 72.81 kB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9628, allocations: 102 kB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.965, allocations: 1.148 MB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.965, allocations: 5.094 kB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.9652, allocations: 42.59 kB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.704e-05/0.9652, allocations: 59.12 kB / 1.133 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.9675, allocations: 1.282 MB / 1.134 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/0.9747, allocations: 4.358 MB / 1.138 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9765, allocations: 0.7997 MB / 1.139 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.9772, allocations: 341.9 kB / 1.139 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.9773, allocations: 30.45 kB / 1.139 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.9782, allocations: 467.8 kB / 1.14 GB, free: 12.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.829e-06/0.9782, allocations: 0 / 1.14 GB, free: 12.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002569/0.9807, allocations: 1.079 MB / 1.141 GB, free: 12.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.981, allocations: 296.8 kB / 1.141 GB, free: 11.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.9826, allocations: 0.8995 MB / 1.142 GB, free: 11.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.9827, allocations: 43.77 kB / 1.142 GB, free: 11.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.9832, allocations: 0.5152 MB / 1.142 GB, free: 11.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.9835, allocations: 274.6 kB / 1.143 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.9835, allocations: 17.22 kB / 1.143 GB, free: 11.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.9837, allocations: 343.2 kB / 1.143 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.9843, allocations: 267.2 kB / 1.143 GB, free: 10.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.985, allocations: 440 kB / 1.144 GB, free: 10.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9863, allocations: 0.6808 MB / 1.144 GB, free: 10.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9863, allocations: 0 / 1.144 GB, free: 10.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001882/0.9882, allocations: 0.8731 MB / 1.145 GB, free: 10.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.9883, allocations: 169.8 kB / 1.145 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9883, allocations: 2.812 kB / 1.145 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.9886, allocations: 37.05 kB / 1.145 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.9893, allocations: 184.7 kB / 1.146 GB, free: 9.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.9906, allocations: 1.291 MB / 1.147 GB, free: 8.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.9916, allocations: 107.3 kB / 1.147 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.9917, allocations: 45.56 kB / 1.147 GB, free: 8.598 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.9917, allocations: 9.375 kB / 1.147 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/0.9931, allocations: 0.7395 MB / 1.148 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9931, allocations: 2.594 kB / 1.148 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9932, allocations: 7.562 kB / 1.148 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/0.9939, allocations: 180.2 kB / 1.148 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.994, allocations: 10.38 kB / 1.148 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.9948, allocations: 110 kB / 1.148 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.9949, allocations: 41.59 kB / 1.148 GB, free: 8.379 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008165/0.9957, allocations: 405.8 kB / 1.148 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.996, allocations: 110.3 kB / 1.149 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.998, allocations: 0.9712 MB / 1.149 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.998, allocations: 3.984 kB / 1.149 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.998, allocations: 3 kB / 1.149 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.9985, allocations: 308.9 kB / 1.15 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.9987, allocations: 24.11 kB / 1.15 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.9992, allocations: 67.55 kB / 1.15 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.9994, allocations: 65.38 kB / 1.15 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001831/1.001, allocations: 1.039 MB / 1.151 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002451/1.004, allocations: 1.493 MB / 1.152 GB, free: 6.578 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005969/1.004, allocations: 338.3 kB / 1.153 GB, free: 6.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001094/1.005, allocations: 0.6244 MB / 1.153 GB, free: 6.309 MB / 0.698 GB Notification: Performance of Backend: time 7.22e-07/1.005, allocations: 1.312 kB / 1.153 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004741/1.01, allocations: 1.706 MB / 1.155 GB, free: 5.715 MB / 0.698 GB Notification: Performance of SimCode: time 0.004477/1.015, allocations: 2.866 MB / 1.158 GB, free: 3.844 MB / 0.698 GB Notification: Performance of Templates: time 0.03756/1.052, allocations: 20.29 MB / 1.178 GB, free: 9.5 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)