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.001214/0.001215, allocations: 108.5 kB / 16.92 MB, free: 5.895 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.001383/0.001383, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.435/1.435, 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.3148/0.3148, allocations: 48.85 MB / 319.9 MB, free: 11.09 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.002148/0.002148, allocations: 65.33 kB / 390.2 MB, free: 48.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1176, allocations: 59.16 MB / 449.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.42/0.5377, allocations: 170.6 MB / 0.6054 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006438/0.5442, allocations: 3.758 MB / 0.6091 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007214/0.5449, allocations: 8.719 kB / 0.6091 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.5461, allocations: 273.1 kB / 0.6094 GB, free: 1.766 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.001309/0.5475, allocations: 445.3 kB / 0.6098 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.5515, allocations: 1.47 MB / 0.6112 GB, free: 368 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.5531, allocations: 1.206 MB / 0.6124 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.5538, allocations: 365.5 kB / 0.6128 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008333/0.5546, allocations: 456.9 kB / 0.6132 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.5554, allocations: 418.5 kB / 0.6136 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5555, allocations: 53.09 kB / 0.6137 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.5583, allocations: 1.436 MB / 0.6151 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.5587, allocations: 314.5 kB / 0.6154 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.5593, allocations: 421.6 kB / 0.6158 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.5619, allocations: 1.607 MB / 0.6173 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5619, allocations: 0 / 0.6173 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5619, allocations: 0 / 0.6173 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.945e-05/0.562, allocations: 0 / 0.6173 GB, free: 12.8 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.002308/0.5643, allocations: 1.137 MB / 0.6184 GB, free: 11.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5643, allocations: 13.89 kB / 0.6185 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.5645, allocations: 99.88 kB / 0.6185 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.5653, allocations: 136.3 kB / 0.6187 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.5662, allocations: 0.5069 MB / 0.6192 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.5662, allocations: 45.69 kB / 0.6192 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.5663, allocations: 49.16 kB / 0.6193 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5674, allocations: 0.6129 MB / 0.6199 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.5674, allocations: 0 / 0.6199 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.5675, allocations: 27.53 kB / 0.6199 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5675, allocations: 12.22 kB / 0.6199 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.5683, allocations: 474.1 kB / 0.6204 GB, free: 10.69 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.004481/0.5728, allocations: 2.335 MB / 0.6226 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.5731, allocations: 130.6 kB / 0.6228 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.5732, allocations: 60.83 kB / 0.6228 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.5735, allocations: 117.1 kB / 0.6229 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5735, allocations: 42.55 kB / 0.623 GB, free: 8.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 5.35e-06/0.5735, allocations: 0 / 0.623 GB, free: 8.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006153/0.5741, allocations: 236.7 kB / 0.6232 GB, free: 8.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.5742, allocations: 51.41 kB / 0.6232 GB, free: 8.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.5755, allocations: 0.9966 MB / 0.6242 GB, free: 7.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.5756, allocations: 33.7 kB / 0.6242 GB, free: 6.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.5759, allocations: 391.1 kB / 0.6246 GB, free: 6.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.5759, allocations: 55.25 kB / 0.6247 GB, free: 6.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.5761, allocations: 85.97 kB / 0.6248 GB, free: 6.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5762, allocations: 325.9 kB / 0.6251 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.5765, allocations: 134 kB / 0.6252 GB, free: 5.984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.5768, allocations: 250.3 kB / 0.6254 GB, free: 5.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.5772, allocations: 341.7 kB / 0.6258 GB, free: 5.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5772, allocations: 0.6875 kB / 0.6258 GB, free: 5.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008275/0.5781, allocations: 468.8 kB / 0.6262 GB, free: 4.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5781, allocations: 8 kB / 0.6262 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5781, allocations: 7.938 kB / 0.6262 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5781, allocations: 8 kB / 0.6262 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.5787, allocations: 107.8 kB / 0.6263 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004455/0.5791, allocations: 0.606 MB / 0.6269 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.5797, allocations: 80.17 kB / 0.627 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.5798, allocations: 27.98 kB / 0.627 GB, free: 3.953 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.0004664/0.5803, allocations: 239.9 kB / 0.6273 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5805, allocations: 75.16 kB / 0.6273 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.581, allocations: 225.1 kB / 0.6275 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.581, allocations: 4 kB / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.581, allocations: 0 / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.581, allocations: 0 / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.5825, allocations: 0.8049 MB / 0.6283 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.5825, allocations: 5.844 kB / 0.6283 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.5827, allocations: 48 kB / 0.6284 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.5827, allocations: 7.984 kB / 0.6284 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.5828, allocations: 4 kB / 0.6284 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004213/0.5832, allocations: 0.5977 MB / 0.629 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5832, allocations: 3.938 kB / 0.629 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.5838, allocations: 386 kB / 0.6293 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.5841, allocations: 172.1 kB / 0.6295 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5842, allocations: 11.94 kB / 0.6295 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.5846, allocations: 15.98 kB / 0.6295 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.5847, allocations: 15.92 kB / 0.6296 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.5847, allocations: 23.97 kB / 0.6296 GB, free: 1.191 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00088/0.5856, allocations: 0.702 MB / 0.6303 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5856, allocations: 0 / 0.6303 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008712/0.5865, allocations: 211.9 kB / 0.6305 GB, free: 296 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.002411/0.5889, allocations: 1.362 MB / 0.6318 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.5895, allocations: 244.8 kB / 0.632 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.5895, allocations: 0 / 0.632 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.5897, allocations: 71.84 kB / 0.6321 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.5913, allocations: 319.5 kB / 0.6324 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/0.6006, allocations: 6.651 MB / 0.6389 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.6011, allocations: 0.9146 MB / 0.6398 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.6018, allocations: 133.7 kB / 0.6399 GB, free: 6.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.6021, allocations: 239.4 kB / 0.6401 GB, free: 6.086 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6022, allocations: 0 / 0.6401 GB, free: 6.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.6545, allocations: 21.51 MB / 0.6611 GB, free: 500 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.14, allocations: 7.922 kB / 0.6612 GB, free: 492 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)