Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001485/0.001485, allocations: 176.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001046, allocations: 85.81 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.858e-05, allocations: 0 / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8224, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.162/6.985, allocations: 2.102 GB / 3.065 GB, free: 17.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/6.985, allocations: 104.9 kB / 3.065 GB, free: 17.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8953/7.881, allocations: 57.1 MB / 3.121 GB, free: 328.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/7.881, allocations: 1.031 kB / 3.121 GB, free: 328.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001591/7.881, allocations: 34.19 kB / 3.121 GB, free: 328.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004439/7.885, allocations: 1.381 MB / 3.122 GB, free: 327.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/7.886, allocations: 10.78 kB / 3.122 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/7.889, allocations: 294.2 kB / 3.123 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/7.892, allocations: 0.8382 MB / 3.124 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/7.892, allocations: 34.81 kB / 3.124 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/7.892, allocations: 64.44 kB / 3.124 GB, free: 327.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003885/7.896, allocations: 1.28 MB / 3.125 GB, free: 327 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/7.9, allocations: 1.11 MB / 3.126 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/7.9, allocations: 5.062 kB / 3.126 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/7.9, allocations: 2.312 kB / 3.126 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/7.9, allocations: 63.84 kB / 3.126 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/7.911, allocations: 4.513 MB / 3.13 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/7.914, allocations: 0.9132 MB / 3.131 GB, free: 323.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/7.915, allocations: 386.9 kB / 3.132 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/7.915, allocations: 123 kB / 3.132 GB, free: 322.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/7.917, allocations: 0.5213 MB / 3.132 GB, free: 322.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.81e-06/7.917, allocations: 0 / 3.132 GB, free: 322.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.005066/7.922, allocations: 1.36 MB / 3.134 GB, free: 321.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/7.922, allocations: 298.5 kB / 3.134 GB, free: 321.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/7.924, allocations: 0.7805 MB / 3.135 GB, free: 321.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/7.924, allocations: 27.08 kB / 3.135 GB, free: 321.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/7.925, allocations: 0.5389 MB / 3.135 GB, free: 320.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/7.925, allocations: 303.3 kB / 3.136 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/7.925, allocations: 0 / 3.136 GB, free: 320.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/7.926, allocations: 342 kB / 3.136 GB, free: 320.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000853/7.926, allocations: 315 kB / 3.136 GB, free: 320.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/7.927, allocations: 0.4969 MB / 3.137 GB, free: 319.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/7.929, allocations: 418.2 kB / 3.137 GB, free: 319.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/7.929, allocations: 4.953 kB / 3.137 GB, free: 319.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004111/7.933, allocations: 1.051 MB / 3.138 GB, free: 319.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/7.933, allocations: 1.139 MB / 3.139 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/7.933, allocations: 7.938 kB / 3.139 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/7.935, allocations: 120 kB / 3.139 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/7.937, allocations: 210.4 kB / 3.14 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008746/7.937, allocations: 0.6421 MB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/7.939, allocations: 91.59 kB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/7.94, allocations: 42.41 kB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/7.94, allocations: 3.375 kB / 3.14 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/7.942, allocations: 0.7829 MB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/7.942, allocations: 6.469 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/7.942, allocations: 8.219 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/7.944, allocations: 217.2 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/7.944, allocations: 9.453 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/7.945, allocations: 81.3 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/7.946, allocations: 37.3 kB / 3.141 GB, free: 317.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004363/7.946, allocations: 128.2 kB / 3.142 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003896/7.95, allocations: 1.037 MB / 3.143 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006437/7.951, allocations: 107 kB / 3.143 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/7.956, allocations: 1.298 MB / 3.144 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/7.956, allocations: 15.2 kB / 3.144 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/7.956, allocations: 3.75 kB / 3.144 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/7.956, allocations: 5.047 kB / 3.144 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/7.963, allocations: 2.493 MB / 3.146 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/7.963, allocations: 1.25 kB / 3.146 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/7.965, allocations: 198.7 kB / 3.147 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/7.967, allocations: 208 kB / 3.147 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/7.967, allocations: 15.88 kB / 3.147 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/7.97, allocations: 1.764 MB / 3.149 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/7.97, allocations: 2.406 kB / 3.149 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/7.974, allocations: 1.421 MB / 3.15 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/7.975, allocations: 354.7 kB / 3.15 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/7.976, allocations: 4.531 kB / 3.15 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/7.977, allocations: 81.42 kB / 3.15 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/7.977, allocations: 70.8 kB / 3.15 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/7.978, allocations: 43.5 kB / 3.15 GB, free: 312.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0014/7.979, allocations: 0.6174 MB / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/7.979, allocations: 0 / 3.151 GB, free: 312.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003176/7.982, allocations: 446.5 kB / 3.151 GB, free: 312.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006163/7.988, allocations: 2.888 MB / 3.154 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003785/7.992, allocations: 1.311 MB / 3.156 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/7.992, allocations: 3.375 kB / 3.156 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/7.994, allocations: 0.5983 MB / 3.156 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/7.997, allocations: 283.5 kB / 3.156 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006841/8.003, allocations: 1.998 MB / 3.158 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/8.004, allocations: 1.214 MB / 3.16 GB, free: 307.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003407/8.008, allocations: 0.5984 MB / 3.16 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/8.009, allocations: 479.9 kB / 3.161 GB, free: 307.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/8.009, allocations: 0 / 3.161 GB, free: 307.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/8.118, allocations: 26.03 MB / 3.186 GB, free: 290.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/8.118, allocations: 188.5 kB / 3.186 GB, free: 290 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/11.85, allocations: 0 / 3.186 GB, free: 290 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)