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.0009477/0.0009528, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.0009348/0.0009348, allocations: 190 kB / 17.55 MB, free: 5.934 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.196/1.196, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2552/0.2552, allocations: 48.84 MB / 319.6 MB, free: 11.26 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.001338/0.001339, allocations: 64.25 kB / 389.6 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07832, allocations: 59.16 MB / 448.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3342/0.4126, allocations: 168.5 MB / 0.6029 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004663/0.4173, allocations: 3.779 MB / 0.6066 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.4178, allocations: 8.656 kB / 0.6066 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.4187, allocations: 244.4 kB / 0.6068 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009512/0.4197, allocations: 427.2 kB / 0.6072 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.423, allocations: 1.372 MB / 0.6086 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.4243, allocations: 1.204 MB / 0.6097 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.4249, allocations: 350.4 kB / 0.6101 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.4257, allocations: 468.8 kB / 0.6105 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.4263, allocations: 436.2 kB / 0.6109 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4264, allocations: 55.44 kB / 0.611 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4298, allocations: 1.544 MB / 0.6125 GB, free: 452 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.4303, allocations: 320 kB / 0.6128 GB, free: 244 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.4311, allocations: 414.4 kB / 0.6132 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.4336, allocations: 1.709 MB / 0.6149 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4336, allocations: 2.688 kB / 0.6149 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4336, allocations: 0 / 0.6149 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.4337, allocations: 0 / 0.6149 GB, free: 14.93 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.002088/0.4357, allocations: 1.131 MB / 0.616 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4358, allocations: 13.95 kB / 0.616 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.4359, allocations: 95.73 kB / 0.6161 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.4366, allocations: 135.8 kB / 0.6162 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.4372, allocations: 0.5117 MB / 0.6167 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.4373, allocations: 37.66 kB / 0.6167 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.4373, allocations: 52.28 kB / 0.6168 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.4382, allocations: 0.6172 MB / 0.6174 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4383, allocations: 0 / 0.6174 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.4383, allocations: 31.31 kB / 0.6174 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4383, allocations: 12.5 kB / 0.6174 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.439, allocations: 473.8 kB / 0.6179 GB, free: 12.82 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.003534/0.4425, allocations: 2.326 MB / 0.6201 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4427, allocations: 137.5 kB / 0.6203 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.4428, allocations: 56.53 kB / 0.6203 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.4431, allocations: 130.9 kB / 0.6205 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4431, allocations: 33.56 kB / 0.6205 GB, free: 10.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.4431, allocations: 0 / 0.6205 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004154/0.4435, allocations: 241.1 kB / 0.6207 GB, free: 10.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4436, allocations: 55.41 kB / 0.6208 GB, free: 10.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4446, allocations: 0.9889 MB / 0.6217 GB, free: 9.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4446, allocations: 25.7 kB / 0.6218 GB, free: 9.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.4449, allocations: 395 kB / 0.6221 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4449, allocations: 55.25 kB / 0.6222 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4451, allocations: 82.03 kB / 0.6223 GB, free: 8.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.4452, allocations: 325.9 kB / 0.6226 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4454, allocations: 134 kB / 0.6227 GB, free: 8.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4457, allocations: 254.3 kB / 0.623 GB, free: 8.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4461, allocations: 345.7 kB / 0.6233 GB, free: 7.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4461, allocations: 0 / 0.6233 GB, free: 7.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006695/0.4467, allocations: 465.4 kB / 0.6237 GB, free: 7.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4468, allocations: 8 kB / 0.6237 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4468, allocations: 7.938 kB / 0.6237 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4468, allocations: 11.98 kB / 0.6238 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.4473, allocations: 108.6 kB / 0.6239 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003295/0.4476, allocations: 0.6055 MB / 0.6244 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.4481, allocations: 83.31 kB / 0.6245 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.4481, allocations: 20 kB / 0.6245 GB, free: 6.352 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.0002824/0.4484, allocations: 250.6 kB / 0.6248 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4485, allocations: 71.16 kB / 0.6249 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.4489, allocations: 221.4 kB / 0.6251 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4489, allocations: 8 kB / 0.6251 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4489, allocations: 3.938 kB / 0.6251 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4489, allocations: 3.984 kB / 0.6251 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.4499, allocations: 0.8012 MB / 0.6259 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4499, allocations: 0 / 0.6259 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.4502, allocations: 51.91 kB / 0.6259 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4502, allocations: 4.094 kB / 0.6259 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4502, allocations: 7.984 kB / 0.6259 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002746/0.4505, allocations: 0.5976 MB / 0.6265 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4505, allocations: 3.984 kB / 0.6265 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.4509, allocations: 393.3 kB / 0.6269 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4511, allocations: 172.1 kB / 0.627 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.4512, allocations: 7.984 kB / 0.6271 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4516, allocations: 19.98 kB / 0.6271 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.4516, allocations: 7.984 kB / 0.6271 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.4517, allocations: 24.05 kB / 0.6271 GB, free: 3.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007473/0.4524, allocations: 0.702 MB / 0.6278 GB, free: 2.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4524, allocations: 0 / 0.6278 GB, free: 2.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006301/0.4531, allocations: 215.8 kB / 0.628 GB, free: 2.676 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.001838/0.4549, allocations: 1.352 MB / 0.6293 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.4554, allocations: 256.8 kB / 0.6296 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4554, allocations: 4 kB / 0.6296 GB, free: 1.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4555, allocations: 71.84 kB / 0.6296 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.4569, allocations: 315 kB / 0.6299 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/0.4645, allocations: 6.803 MB / 0.6366 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.465, allocations: 0.9184 MB / 0.6375 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.4654, allocations: 129.7 kB / 0.6376 GB, free: 8.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.4657, allocations: 239.4 kB / 0.6378 GB, free: 8.324 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4657, allocations: 3.938 kB / 0.6378 GB, free: 8.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.503, allocations: 21.37 MB / 0.6587 GB, free: 2.887 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.5033, allocations: 270.2 kB / 0.659 GB, free: 2.527 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.753, allocations: 0 / 0.659 GB, free: 2.527 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)