Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007967, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000846/0.0008461, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.4 MB / 0.6655 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 19.98 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.898, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.008531/0.9066, allocations: 6.137 MB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1829/1.09, allocations: 138 MB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/1.091, allocations: 23.88 kB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008192/1.092, allocations: 250.4 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/1.094, allocations: 0.6139 MB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/1.097, allocations: 0.7848 MB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002209/1.099, allocations: 1.627 MB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/1.1, allocations: 0.8994 MB / 1.099 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/1.101, allocations: 473.9 kB / 1.099 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/1.102, allocations: 0.5717 MB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/1.102, allocations: 40 kB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/1.103, allocations: 415.5 kB / 1.1 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/1.103, allocations: 298.9 kB / 1.1 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/1.104, allocations: 256.9 kB / 1.101 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/1.105, allocations: 1.527 MB / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.105, allocations: 0 / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/1.105, allocations: 0 / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.824e-05/1.105, allocations: 0 / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002751/1.108, allocations: 1.53 MB / 1.104 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.108, allocations: 12.03 kB / 1.104 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/1.108, allocations: 168.7 kB / 1.104 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.11, allocations: 281.9 kB / 1.104 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.111, allocations: 0.9063 MB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/1.111, allocations: 86.02 kB / 1.105 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.111, allocations: 111.9 kB / 1.105 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/1.113, allocations: 1.226 MB / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.113, allocations: 7.938 kB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/1.113, allocations: 44 kB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-05/1.113, allocations: 54 kB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/1.115, allocations: 1.339 MB / 1.108 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/1.121, allocations: 4.534 MB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.123, allocations: 0.8909 MB / 1.113 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006329/1.123, allocations: 367.7 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/1.124, allocations: 28.95 kB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008591/1.124, allocations: 0.5421 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/1.124, allocations: 0 / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89): time 0.002285/1.127, allocations: 1.212 MB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.127, allocations: 303.7 kB / 1.115 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/1.128, allocations: 0.9456 MB / 1.116 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/1.128, allocations: 45.7 kB / 1.116 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/1.129, allocations: 0.5505 MB / 1.117 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/1.129, allocations: 287.8 kB / 1.117 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/1.129, allocations: 20 kB / 1.117 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.129, allocations: 337.9 kB / 1.118 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/1.13, allocations: 281.8 kB / 1.118 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/1.13, allocations: 471.9 kB / 1.118 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/1.131, allocations: 338.8 kB / 1.119 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.131, allocations: 3.938 kB / 1.119 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001582/1.132, allocations: 0.9109 MB / 1.119 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.133, allocations: 174.5 kB / 1.12 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.133, allocations: 4 kB / 1.12 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/1.133, allocations: 32.83 kB / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/1.134, allocations: 191.7 kB / 1.12 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/1.135, allocations: 1.289 MB / 1.121 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/1.136, allocations: 127.9 kB / 1.121 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/1.136, allocations: 35.98 kB / 1.121 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.136, allocations: 8.891 kB / 1.121 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/1.137, allocations: 0.7613 MB / 1.122 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.137, allocations: 4.094 kB / 1.122 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/1.137, allocations: 11.94 kB / 1.122 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/1.138, allocations: 187.7 kB / 1.122 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.138, allocations: 11.98 kB / 1.122 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/1.139, allocations: 120.5 kB / 1.122 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.139, allocations: 35.98 kB / 1.122 GB, free: 2.273 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000742/1.139, allocations: 416.8 kB / 1.123 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.14, allocations: 118.5 kB / 1.123 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/1.142, allocations: 1.072 MB / 1.124 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.142, allocations: 12 kB / 1.124 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.142, allocations: 0 / 1.124 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.142, allocations: 3.984 kB / 1.124 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/1.145, allocations: 2.382 MB / 1.126 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.145, allocations: 0 / 1.126 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.146, allocations: 167.7 kB / 1.126 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/1.146, allocations: 28.81 kB / 1.126 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/1.146, allocations: 27.98 kB / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009455/1.147, allocations: 1.284 MB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.147, allocations: 0 / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.148, allocations: 1.046 MB / 1.129 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/1.149, allocations: 331.2 kB / 1.129 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.149, allocations: 27.95 kB / 1.129 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/1.15, allocations: 88.86 kB / 1.129 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.15, allocations: 80.83 kB / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/1.15, allocations: 35.97 kB / 1.129 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001026/1.151, allocations: 0.6613 MB / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.151, allocations: 0 / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001733/1.153, allocations: 0.5801 MB / 1.131 GB, free: 9.625 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003268/1.156, allocations: 2.148 MB / 1.133 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002306/1.158, allocations: 1.267 MB / 1.134 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.158, allocations: 4 kB / 1.134 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/1.159, allocations: 0.5327 MB / 1.134 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.161, allocations: 317.7 kB / 1.135 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.171, allocations: 6.614 MB / 1.141 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/1.172, allocations: 1.17 MB / 1.142 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001399/1.173, allocations: 400.5 kB / 1.143 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.174, allocations: 0.4914 MB / 1.143 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/1.174, allocations: 0 / 1.143 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/1.22, allocations: 25.66 MB / 1.168 GB, free: 3.238 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.22, allocations: 266.2 kB / 1.168 GB, free: 2.875 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.725, allocations: 0 / 1.168 GB, free: 2.875 MB / 0.92 GB (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Sources_Examples_WindTurbine.fmu > Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Sources.Examples.WindTurbine_res.mat does not exist to compare? outputFormat=mat