Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001049/0.001049, allocations: 178.9 kB / 371.8 MB, free: 10.28 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.545/1.545, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009595/0.0009596, allocations: 97.81 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004583, allocations: 12.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2433, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.728, allocations: 2.103 GB / 3.082 GB, free: 207.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/5.728, allocations: 111.9 kB / 3.082 GB, free: 207.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/5.864, allocations: 57.94 MB / 3.139 GB, free: 148.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/5.864, allocations: 0 / 3.139 GB, free: 148.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001469/5.864, allocations: 36 kB / 3.139 GB, free: 148.9 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.003831/5.868, allocations: 1.535 MB / 3.14 GB, free: 147.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/5.868, allocations: 16 kB / 3.14 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005077/5.869, allocations: 164.9 kB / 3.141 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/5.87, allocations: 297.9 kB / 3.141 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/5.872, allocations: 0.8493 MB / 3.142 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/5.872, allocations: 82.09 kB / 3.142 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/5.873, allocations: 107.9 kB / 3.142 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/5.875, allocations: 1.293 MB / 3.143 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/5.875, allocations: 3.984 kB / 3.143 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/5.876, allocations: 44 kB / 3.143 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/5.876, allocations: 57.98 kB / 3.143 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/5.878, allocations: 1.463 MB / 3.145 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/5.883, allocations: 4.728 MB / 3.149 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/5.885, allocations: 1.021 MB / 3.15 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/5.885, allocations: 118.1 kB / 3.15 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/5.886, allocations: 0.5805 MB / 3.151 GB, free: 136 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 5.631e-06/5.886, allocations: 3.984 kB / 3.151 GB, free: 136 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004032/5.89, allocations: 2.038 MB / 3.153 GB, free: 133.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/5.89, allocations: 299.8 kB / 3.153 GB, free: 133.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/5.891, allocations: 0.8719 MB / 3.154 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/5.891, allocations: 45.7 kB / 3.154 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/5.892, allocations: 0.5388 MB / 3.155 GB, free: 132.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/5.892, allocations: 319.4 kB / 3.155 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/5.892, allocations: 20 kB / 3.155 GB, free: 131.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/5.892, allocations: 341.9 kB / 3.155 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/5.892, allocations: 349.8 kB / 3.156 GB, free: 131.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/5.893, allocations: 0.5451 MB / 3.156 GB, free: 130.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/5.894, allocations: 432.4 kB / 3.157 GB, free: 130 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.894, allocations: 0 / 3.157 GB, free: 130 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002019/5.896, allocations: 1.188 MB / 3.158 GB, free: 128.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/5.896, allocations: 1.154 MB / 3.159 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/5.896, allocations: 0 / 3.159 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/5.897, allocations: 212.6 kB / 3.159 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/5.898, allocations: 203.7 kB / 3.159 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004737/5.898, allocations: 0.646 MB / 3.16 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/5.899, allocations: 99.38 kB / 3.16 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/5.899, allocations: 43.92 kB / 3.16 GB, free: 126.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/5.899, allocations: 4 kB / 3.16 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/5.9, allocations: 0.8865 MB / 3.161 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/5.9, allocations: 4.109 kB / 3.161 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.026e-06/5.9, allocations: 15.89 kB / 3.161 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/5.901, allocations: 207.7 kB / 3.161 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/5.901, allocations: 11.94 kB / 3.161 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/5.902, allocations: 107.3 kB / 3.161 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/5.902, allocations: 36.08 kB / 3.161 GB, free: 125.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 () * Number of clocked 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.0006509/5.903, allocations: 428.8 kB / 3.162 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/5.903, allocations: 106.7 kB / 3.162 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/5.905, allocations: 1.4 MB / 3.163 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/5.905, allocations: 8 kB / 3.163 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/5.905, allocations: 0 / 3.163 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/5.905, allocations: 7.984 kB / 3.163 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/5.909, allocations: 2.726 MB / 3.166 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/5.909, allocations: 0 / 3.166 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/5.91, allocations: 191.7 kB / 3.166 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/5.911, allocations: 212.8 kB / 3.166 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/5.911, allocations: 31.98 kB / 3.166 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/5.912, allocations: 1.87 MB / 3.168 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/5.912, allocations: 0 / 3.168 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/5.914, allocations: 1.491 MB / 3.17 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/5.915, allocations: 359.2 kB / 3.17 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/5.915, allocations: 24 kB / 3.17 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/5.916, allocations: 95.86 kB / 3.17 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/5.916, allocations: 76.89 kB / 3.17 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/5.916, allocations: 31.98 kB / 3.17 GB, free: 115.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008526/5.917, allocations: 0.7031 MB / 3.171 GB, free: 115 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/5.917, allocations: 0 / 3.171 GB, free: 115 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00153/5.919, allocations: 0.4997 MB / 3.171 GB, free: 114.5 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) * Number of clocked states: 0 () * 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.003936/5.923, allocations: 3.033 MB / 3.174 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002476/5.925, allocations: 1.429 MB / 3.176 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/5.925, allocations: 0 / 3.176 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/5.926, allocations: 0.6485 MB / 3.176 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/5.927, allocations: 296.5 kB / 3.177 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/5.938, allocations: 8.812 MB / 3.185 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/5.939, allocations: 1.217 MB / 3.186 GB, free: 98.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001487/5.941, allocations: 460.2 kB / 3.187 GB, free: 98.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/5.941, allocations: 0.4954 MB / 3.187 GB, free: 97.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/5.941, allocations: 3.938 kB / 3.187 GB, free: 97.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04329/5.985, allocations: 26.54 MB / 3.213 GB, free: 71.64 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/5.985, allocations: 276.6 kB / 3.213 GB, free: 71.28 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/8.74, allocations: 0 / 3.213 GB, free: 71.28 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)