Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.437/2.437, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001333, allocations: 172 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.1 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003814, allocations: 9.938 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.491/4.762, allocations: 1.763 GB / 2.992 GB, free: 207.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/4.762, allocations: 115.9 kB / 2.992 GB, free: 207.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/4.903, allocations: 65.21 MB / 3.056 GB, free: 141.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.364e-06/4.903, allocations: 0 / 3.056 GB, free: 141.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001073/4.903, allocations: 39.94 kB / 3.056 GB, free: 141.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002695/4.906, allocations: 1.575 MB / 3.057 GB, free: 140.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/4.906, allocations: 12.56 kB / 3.057 GB, free: 140.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/4.906, allocations: 177 kB / 3.058 GB, free: 140 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/4.908, allocations: 301.8 kB / 3.058 GB, free: 139.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/4.909, allocations: 0.8456 MB / 3.059 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/4.909, allocations: 78.14 kB / 3.059 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/4.909, allocations: 107.9 kB / 3.059 GB, free: 138.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/4.911, allocations: 1.3 MB / 3.06 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/4.911, allocations: 7.938 kB / 3.06 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/4.911, allocations: 51.98 kB / 3.06 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/4.911, allocations: 61.92 kB / 3.06 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/4.913, allocations: 1.467 MB / 3.062 GB, free: 135.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/4.918, allocations: 4.752 MB / 3.066 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/4.92, allocations: 1.016 MB / 3.067 GB, free: 129.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/4.92, allocations: 122.1 kB / 3.067 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/4.921, allocations: 0.5805 MB / 3.068 GB, free: 128.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 3.006e-06/4.921, allocations: 3.938 kB / 3.068 GB, free: 128.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.00382/4.925, allocations: 2.045 MB / 3.07 GB, free: 126.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/4.925, allocations: 299.7 kB / 3.07 GB, free: 126.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/4.926, allocations: 0.8843 MB / 3.071 GB, free: 125.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/4.926, allocations: 45.7 kB / 3.071 GB, free: 125.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/4.926, allocations: 0.5428 MB / 3.072 GB, free: 124.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/4.927, allocations: 315.4 kB / 3.072 GB, free: 124.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/4.927, allocations: 20 kB / 3.072 GB, free: 124.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/4.927, allocations: 341.9 kB / 3.072 GB, free: 124.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/4.927, allocations: 349.8 kB / 3.073 GB, free: 123.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/4.928, allocations: 0.5451 MB / 3.073 GB, free: 123.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/4.928, allocations: 430.8 kB / 3.074 GB, free: 122.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/4.928, allocations: 0 / 3.074 GB, free: 122.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001966/4.93, allocations: 1.192 MB / 3.075 GB, free: 121.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/4.931, allocations: 1.138 MB / 3.076 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/4.931, allocations: 8 kB / 3.076 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008491/4.932, allocations: 208.6 kB / 3.076 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/4.932, allocations: 211.7 kB / 3.076 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004695/4.933, allocations: 0.642 MB / 3.077 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/4.934, allocations: 99.47 kB / 3.077 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/4.934, allocations: 43.98 kB / 3.077 GB, free: 119.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/4.934, allocations: 5.094 kB / 3.077 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/4.935, allocations: 0.89 MB / 3.078 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/4.935, allocations: 3.938 kB / 3.078 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/4.935, allocations: 8 kB / 3.078 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/4.936, allocations: 216 kB / 3.078 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/4.936, allocations: 8 kB / 3.078 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/4.936, allocations: 95.38 kB / 3.078 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/4.937, allocations: 39.98 kB / 3.078 GB, free: 118 MB / 1.167 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.0006033/4.937, allocations: 432.7 kB / 3.079 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/4.937, allocations: 114.6 kB / 3.079 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/4.94, allocations: 1.392 MB / 3.08 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/4.94, allocations: 12 kB / 3.08 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/4.94, allocations: 4 kB / 3.08 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/4.94, allocations: 7.938 kB / 3.08 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/4.944, allocations: 2.73 MB / 3.083 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/4.944, allocations: 4.188 kB / 3.083 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/4.944, allocations: 195.7 kB / 3.083 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007737/4.945, allocations: 212.6 kB / 3.083 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/4.945, allocations: 23.98 kB / 3.083 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/4.947, allocations: 1.883 MB / 3.085 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/4.947, allocations: 96 / 3.085 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/4.949, allocations: 1.497 MB / 3.087 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/4.949, allocations: 371.1 kB / 3.087 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/4.95, allocations: 20 kB / 3.087 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/4.95, allocations: 95.91 kB / 3.087 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/4.95, allocations: 80.83 kB / 3.087 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/4.95, allocations: 39.98 kB / 3.087 GB, free: 108.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008422/4.951, allocations: 0.7076 MB / 3.088 GB, free: 107.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.242e-06/4.951, allocations: 0 / 3.088 GB, free: 107.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001832/4.953, allocations: 0.5271 MB / 3.088 GB, free: 107.3 MB / 1.167 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.004188/4.957, allocations: 3.121 MB / 3.091 GB, free: 104.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002448/4.96, allocations: 1.42 MB / 3.093 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/4.96, allocations: 4 kB / 3.093 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/4.961, allocations: 0.6498 MB / 3.093 GB, free: 102.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/4.962, allocations: 302.3 kB / 3.094 GB, free: 101.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/4.973, allocations: 8.898 MB / 3.102 GB, free: 92.75 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/4.974, allocations: 1.213 MB / 3.104 GB, free: 91.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001425/4.975, allocations: 464.2 kB / 3.104 GB, free: 91.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/4.976, allocations: 0.4953 MB / 3.105 GB, free: 90.55 MB / 1.167 GB Notification: Performance of SimCode: time 7.91e-07/4.976, allocations: 0 / 3.105 GB, free: 90.55 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07485/5.051, allocations: 27.12 MB / 3.131 GB, free: 63.79 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/5.051, allocations: 270.5 kB / 3.131 GB, free: 63.43 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.914/7.965, allocations: 0 / 3.131 GB, free: 63.43 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat