Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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 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(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.001185/0.001185, allocations: 101.4 kB / 16.94 MB, free: 6.309 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.001239/0.001239, allocations: 187.4 kB / 17.87 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2547/0.2547, allocations: 48.85 MB / 319.9 MB, free: 11.1 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.64 kB / 390.2 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08576, allocations: 59.15 MB / 449.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3449/0.4307, allocations: 170.6 MB / 0.6055 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.4359, allocations: 3.76 MB / 0.6092 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.4365, allocations: 12.81 kB / 0.6092 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.4375, allocations: 269.5 kB / 0.6094 GB, free: 1.758 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001079/0.4386, allocations: 446.5 kB / 0.6099 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.4421, allocations: 1.471 MB / 0.6113 GB, free: 356 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.4435, allocations: 1.203 MB / 0.6125 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.4441, allocations: 365.2 kB / 0.6128 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.445, allocations: 472.1 kB / 0.6133 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.4457, allocations: 402.3 kB / 0.6137 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.4458, allocations: 55.59 kB / 0.6137 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.4484, allocations: 1.438 MB / 0.6151 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.4488, allocations: 318 kB / 0.6154 GB, free: 14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.4494, allocations: 418.2 kB / 0.6158 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.4517, allocations: 1.607 MB / 0.6174 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4517, allocations: 0 / 0.6174 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4517, allocations: 0 / 0.6174 GB, free: 12.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.537e-05/0.4517, allocations: 3.938 kB / 0.6174 GB, free: 12.75 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002185/0.4539, allocations: 1.135 MB / 0.6185 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.454, allocations: 14.02 kB / 0.6185 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.4541, allocations: 99.86 kB / 0.6186 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007274/0.4548, allocations: 135.4 kB / 0.6187 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.4556, allocations: 0.5081 MB / 0.6192 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.4557, allocations: 36.91 kB / 0.6193 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.4557, allocations: 53.31 kB / 0.6193 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.4567, allocations: 0.6126 MB / 0.6199 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4567, allocations: 0.75 kB / 0.6199 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.4568, allocations: 35.77 kB / 0.62 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4568, allocations: 16.19 kB / 0.62 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.4575, allocations: 465.8 kB / 0.6204 GB, free: 10.64 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.4612, allocations: 2.303 MB / 0.6227 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4615, allocations: 130.6 kB / 0.6228 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.4616, allocations: 60.83 kB / 0.6228 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.4618, allocations: 125.1 kB / 0.623 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4619, allocations: 35.56 kB / 0.623 GB, free: 8.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.4619, allocations: 0 / 0.623 GB, free: 8.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004873/0.4624, allocations: 237.7 kB / 0.6232 GB, free: 8.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.4624, allocations: 59.41 kB / 0.6233 GB, free: 8.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.4636, allocations: 0.9928 MB / 0.6243 GB, free: 7.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.4636, allocations: 25.7 kB / 0.6243 GB, free: 6.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.4639, allocations: 391.1 kB / 0.6246 GB, free: 6.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.4639, allocations: 55.25 kB / 0.6247 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4641, allocations: 82.03 kB / 0.6248 GB, free: 6.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4642, allocations: 325.9 kB / 0.6251 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4644, allocations: 146 kB / 0.6252 GB, free: 5.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4647, allocations: 250.3 kB / 0.6255 GB, free: 5.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.4651, allocations: 333.7 kB / 0.6258 GB, free: 5.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4651, allocations: 3.938 kB / 0.6258 GB, free: 5.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000729/0.4658, allocations: 468.8 kB / 0.6262 GB, free: 4.828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4658, allocations: 11.94 kB / 0.6262 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4659, allocations: 7.938 kB / 0.6263 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4659, allocations: 8 kB / 0.6263 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.4664, allocations: 110 kB / 0.6264 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/0.4667, allocations: 0.6094 MB / 0.627 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.4672, allocations: 71.11 kB / 0.627 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.4672, allocations: 27.98 kB / 0.6271 GB, free: 3.965 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.4675, allocations: 246.8 kB / 0.6273 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4676, allocations: 75.25 kB / 0.6274 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.468, allocations: 220.5 kB / 0.6276 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.468, allocations: 0 / 0.6276 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.468, allocations: 0 / 0.6276 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.468, allocations: 0 / 0.6276 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.4691, allocations: 0.8167 MB / 0.6284 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4691, allocations: 0 / 0.6284 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.4693, allocations: 57.86 kB / 0.6284 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4694, allocations: 4 kB / 0.6284 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4694, allocations: 0 / 0.6284 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002888/0.4697, allocations: 0.5977 MB / 0.629 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4697, allocations: 4.031 kB / 0.629 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.4701, allocations: 385.9 kB / 0.6294 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.4703, allocations: 172.1 kB / 0.6296 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.4704, allocations: 4 kB / 0.6296 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.4708, allocations: 19.98 kB / 0.6296 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.4708, allocations: 7.984 kB / 0.6296 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.4709, allocations: 28.03 kB / 0.6296 GB, free: 1.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007736/0.4717, allocations: 0.6981 MB / 0.6303 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4717, allocations: 0 / 0.6303 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006701/0.4724, allocations: 207.9 kB / 0.6305 GB, free: 316 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/0.4743, allocations: 1.376 MB / 0.6318 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.4748, allocations: 240.5 kB / 0.6321 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4748, allocations: 0 / 0.6321 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.475, allocations: 71.84 kB / 0.6321 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4763, allocations: 323.7 kB / 0.6324 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/0.4844, allocations: 6.681 MB / 0.639 GB, free: 7.375 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.4849, allocations: 0.9185 MB / 0.6399 GB, free: 6.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.4853, allocations: 137.7 kB / 0.64 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.4856, allocations: 235.4 kB / 0.6402 GB, free: 6.062 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4856, allocations: 0 / 0.6402 GB, free: 6.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.5311, allocations: 21.92 MB / 0.6616 GB, free: 44 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/8.861, allocations: 11.97 kB / 0.6616 GB, free: 32 kB / 478.1 MB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)