Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 181.2 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 82.33 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005598, allocations: 10.12 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2668, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007076/0.274, allocations: 5.791 MB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.4311, allocations: 128.4 MB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4324, allocations: 19.88 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.4332, allocations: 182.9 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.4358, allocations: 0.6087 MB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.4387, allocations: 0.7899 MB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00237/0.4411, allocations: 0.9897 MB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.4424, allocations: 0.8623 MB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.4432, allocations: 426.2 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009423/0.4441, allocations: 447.2 kB / 1.035 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.4443, allocations: 32 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.4455, allocations: 307.6 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.4459, allocations: 275 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.4464, allocations: 233 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.4489, allocations: 1.384 MB / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4489, allocations: 0 / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4489, allocations: 0 / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.938e-05/0.449, allocations: 0 / 1.038 GB, free: 2.766 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.003261/0.4523, allocations: 1.404 MB / 1.039 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4523, allocations: 8.031 kB / 1.039 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.4526, allocations: 160.3 kB / 1.039 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.454, allocations: 278 kB / 1.039 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.4556, allocations: 0.875 MB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.4557, allocations: 77.94 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.4558, allocations: 95.98 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.4578, allocations: 1.146 MB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.4579, allocations: 3.938 kB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.458, allocations: 43.98 kB / 1.041 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.458, allocations: 57.98 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.4601, allocations: 1.288 MB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00658/0.4667, allocations: 4.348 MB / 1.047 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.4684, allocations: 0.8111 MB / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.564e-05/0.4685, allocations: 32.69 kB / 1.048 GB, free: 7.746 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008799/0.4694, allocations: 465.8 kB / 1.048 GB, free: 7.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.308e-06/0.4694, allocations: 0 / 1.048 GB, free: 7.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002647/0.4721, allocations: 1.093 MB / 1.049 GB, free: 6.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.4722, allocations: 299.4 kB / 1.05 GB, free: 5.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.4734, allocations: 0.8907 MB / 1.051 GB, free: 4.867 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.4735, allocations: 41.7 kB / 1.051 GB, free: 4.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.474, allocations: 0.5231 MB / 1.051 GB, free: 4.289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.4742, allocations: 272.1 kB / 1.051 GB, free: 4.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.4743, allocations: 12 kB / 1.051 GB, free: 4.008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4744, allocations: 334 kB / 1.052 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.4749, allocations: 257.8 kB / 1.052 GB, free: 3.422 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.4755, allocations: 435.9 kB / 1.052 GB, free: 2.934 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.4761, allocations: 314.8 kB / 1.053 GB, free: 2.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4761, allocations: 4 kB / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001496/0.4776, allocations: 0.8251 MB / 1.053 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004601/0.4781, allocations: 1.055 MB / 1.054 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4781, allocations: 4 kB / 1.054 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.4783, allocations: 32.84 kB / 1.055 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.4791, allocations: 171.8 kB / 1.055 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.469/0.948, allocations: 1.286 MB / 1.056 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9491, allocations: 108.7 kB / 1.056 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.9492, allocations: 34.83 kB / 1.056 GB, free: 152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.9492, allocations: 7.594 kB / 1.056 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/0.9506, allocations: 0.6967 MB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9506, allocations: 6.469 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.9506, allocations: 5.562 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.9513, allocations: 174.9 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9513, allocations: 10.39 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.952, allocations: 101.7 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.9521, allocations: 33.97 kB / 1.057 GB, free: 152 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.000525/0.9526, allocations: 403.7 kB / 1.057 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.9527, allocations: 107.4 kB / 1.058 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.9544, allocations: 0.9902 MB / 1.059 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.9544, allocations: 9.062 kB / 1.059 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.9544, allocations: 0 / 1.059 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.9545, allocations: 6.656 kB / 1.059 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.9557, allocations: 1.298 MB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9557, allocations: 0 / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.9563, allocations: 157.8 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.925e-05/0.9564, allocations: 25.89 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.9564, allocations: 23.06 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005864/0.957, allocations: 1.287 MB / 1.061 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.957, allocations: 0 / 1.061 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.9583, allocations: 0.8962 MB / 1.062 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.9587, allocations: 310.4 kB / 1.062 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.9588, allocations: 20.58 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.9594, allocations: 74.83 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.9595, allocations: 60.25 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.9595, allocations: 33.48 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007092/0.9602, allocations: 0.6227 MB / 1.063 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9603, allocations: 2.094 kB / 1.063 GB, free: 149.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001081/0.9613, allocations: 0.5098 MB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002479/0.9638, allocations: 2.047 MB / 1.066 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.9659, allocations: 1.162 MB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.966, allocations: 0.75 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.9667, allocations: 490.8 kB / 1.067 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.9679, allocations: 292.1 kB / 1.068 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.9786, allocations: 7.67 MB / 1.075 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.9794, allocations: 1.162 MB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001544/0.9809, allocations: 399.9 kB / 1.077 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/0.9816, allocations: 469.5 kB / 1.077 GB, free: 143.5 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.9816, allocations: 0 / 1.077 GB, free: 143.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/1.045, allocations: 23.59 MB / 1.1 GB, free: 127.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.046, allocations: 265.5 kB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.952, allocations: 0 / 1.1 GB, free: 127.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)