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.000819/0.000819, allocations: 98.52 kB / 16.65 MB, free: 6.59 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.0008806/0.0008807, allocations: 183.4 kB / 17.57 MB, free: 6.199 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.13/1.13, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2268/0.2268, allocations: 48.79 MB / 320.8 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.0004539/0.0004539, allocations: 13.94 kB / 391.9 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07385/0.07432, allocations: 60.26 MB / 452.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.31/0.3844, allocations: 166.5 MB / 0.6042 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.3886, allocations: 3.842 MB / 0.6079 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.3889, allocations: 10.16 kB / 0.6079 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.3895, allocations: 229.2 kB / 0.6081 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.3902, allocations: 427.8 kB / 0.6086 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.3927, allocations: 1.321 MB / 0.6098 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3938, allocations: 1.622 MB / 0.6114 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.3942, allocations: 303 kB / 0.6117 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.3946, allocations: 410.2 kB / 0.6121 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.395, allocations: 415.4 kB / 0.6125 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.3951, allocations: 24.69 kB / 0.6125 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.3972, allocations: 1.701 MB / 0.6142 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3974, allocations: 284 kB / 0.6145 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.3978, allocations: 403.8 kB / 0.6148 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.3993, allocations: 1.665 MB / 0.6165 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3993, allocations: 0 / 0.6165 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3993, allocations: 0 / 0.6165 GB, free: 3.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3993, allocations: 0 / 0.6165 GB, free: 3.59 MB / 430.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.001273/0.4006, allocations: 0.969 MB / 0.6174 GB, free: 2.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4006, allocations: 13.22 kB / 0.6174 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.4007, allocations: 97.17 kB / 0.6175 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.4013, allocations: 134.6 kB / 0.6177 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.4019, allocations: 0.5204 MB / 0.6182 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4019, allocations: 41.38 kB / 0.6182 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.402, allocations: 55.31 kB / 0.6183 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.4028, allocations: 0.6071 MB / 0.6188 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4029, allocations: 0 / 0.6188 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.4029, allocations: 27.97 kB / 0.6189 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.4029, allocations: 10.84 kB / 0.6189 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.4036, allocations: 479.1 kB / 0.6193 GB, free: 1.582 MB / 430.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.003323/0.4069, allocations: 2.323 MB / 0.6216 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.4071, allocations: 137.6 kB / 0.6217 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.4072, allocations: 60.25 kB / 0.6218 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.4074, allocations: 126.9 kB / 0.6219 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4074, allocations: 37.44 kB / 0.622 GB, free: 15.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.4075, allocations: 0 / 0.622 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000397/0.4079, allocations: 243 kB / 0.6222 GB, free: 15.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4079, allocations: 51.41 kB / 0.6222 GB, free: 15.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.4088, allocations: 0.9942 MB / 0.6232 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.4089, allocations: 28.95 kB / 0.6232 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.4091, allocations: 385.5 kB / 0.6236 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4092, allocations: 59.44 kB / 0.6237 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.4092, allocations: 34.48 kB / 0.6237 GB, free: 14.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4094, allocations: 330.5 kB / 0.624 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.4096, allocations: 126.9 kB / 0.6241 GB, free: 13.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.4099, allocations: 256.8 kB / 0.6244 GB, free: 13.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.4103, allocations: 343.7 kB / 0.6247 GB, free: 13.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4103, allocations: 2.781 kB / 0.6247 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006287/0.4109, allocations: 464.3 kB / 0.6251 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4109, allocations: 5.812 kB / 0.6252 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4109, allocations: 10.5 kB / 0.6252 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.411, allocations: 9.188 kB / 0.6252 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.4114, allocations: 110.3 kB / 0.6253 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003489/0.4118, allocations: 0.6065 MB / 0.6259 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.4122, allocations: 83.75 kB / 0.6259 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4122, allocations: 15.91 kB / 0.626 GB, free: 12.4 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.0002588/0.4125, allocations: 251 kB / 0.6262 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.4126, allocations: 74.62 kB / 0.6263 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.4129, allocations: 231.5 kB / 0.6265 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4129, allocations: 2.812 kB / 0.6265 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4129, allocations: 0 / 0.6265 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4129, allocations: 3.984 kB / 0.6265 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.4139, allocations: 0.8021 MB / 0.6273 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4139, allocations: 4.094 kB / 0.6273 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.4141, allocations: 47.97 kB / 0.6273 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4141, allocations: 0 / 0.6273 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4141, allocations: 4 kB / 0.6273 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002606/0.4144, allocations: 0.6059 MB / 0.6279 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4144, allocations: 0 / 0.6279 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.4148, allocations: 381.2 kB / 0.6283 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.415, allocations: 188 kB / 0.6285 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.4151, allocations: 12 kB / 0.6285 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.4155, allocations: 19.97 kB / 0.6285 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4155, allocations: 16.05 kB / 0.6285 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4156, allocations: 15.98 kB / 0.6285 GB, free: 9.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007206/0.4163, allocations: 0.702 MB / 0.6292 GB, free: 9.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4163, allocations: 0 / 0.6292 GB, free: 9.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005891/0.4169, allocations: 207.8 kB / 0.6294 GB, free: 8.957 MB / 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.001719/0.4186, allocations: 1.357 MB / 0.6307 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.4191, allocations: 252 kB / 0.631 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4191, allocations: 4 kB / 0.631 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4192, allocations: 59.92 kB / 0.631 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.4207, allocations: 312.5 kB / 0.6313 GB, free: 6.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/0.4279, allocations: 6.871 MB / 0.638 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4283, allocations: 0.919 MB / 0.6389 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000419/0.4288, allocations: 141.9 kB / 0.6391 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.429, allocations: 235.3 kB / 0.6393 GB, free: 14.54 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4291, allocations: 4 kB / 0.6393 GB, free: 14.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.4604, allocations: 20.58 MB / 0.6594 GB, free: 9.922 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.4606, allocations: 285.2 kB / 0.6597 GB, free: 9.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.465, allocations: 0 / 0.6597 GB, free: 9.551 MB / 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)