Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",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.001114/0.001114, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001087/0.001087, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.12/1.12, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.228/0.228, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001307/0.001307, allocations: 63.89 kB / 389.5 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07387, allocations: 59.17 MB / 448.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.312/0.3859, allocations: 184.5 MB / 0.6183 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.3889, allocations: 1.987 MB / 0.6202 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005326/0.3894, allocations: 19.19 kB / 0.6202 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.3903, allocations: 321.3 kB / 0.6205 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.3915, allocations: 0.7612 MB / 0.6213 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.3935, allocations: 0.9847 MB / 0.6222 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.3954, allocations: 2.333 MB / 0.6245 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.3959, allocations: 0.5669 MB / 0.6251 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.3967, allocations: 0.7331 MB / 0.6258 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.3973, allocations: 0.8133 MB / 0.6266 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.3975, allocations: 44 kB / 0.6266 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.3989, allocations: 0.9431 MB / 0.6276 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.3994, allocations: 0.7596 MB / 0.6283 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.4001, allocations: 0.8929 MB / 0.6292 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.4021, allocations: 2.461 MB / 0.6316 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4021, allocations: 0 / 0.6316 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4021, allocations: 7.828 kB / 0.6316 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4021, allocations: 0 / 0.6316 GB, free: 15.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002944/0.4051, allocations: 2.393 MB / 0.6339 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4051, allocations: 12.03 kB / 0.6339 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.4053, allocations: 139.5 kB / 0.6341 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.406, allocations: 301.1 kB / 0.6343 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.4077, allocations: 1.396 MB / 0.6357 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.4077, allocations: 91.7 kB / 0.6358 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4079, allocations: 91.91 kB / 0.6359 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.4094, allocations: 1.14 MB / 0.637 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4094, allocations: 0 / 0.637 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.4095, allocations: 43.94 kB / 0.637 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.4096, allocations: 38 kB / 0.6371 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4107, allocations: 0.8235 MB / 0.6379 GB, free: 8.934 MB / 462.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.006208/0.4169, allocations: 5.21 MB / 0.643 GB, free: 3.484 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.4175, allocations: 309.1 kB / 0.6433 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.4177, allocations: 148.3 kB / 0.6434 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.4178, allocations: 11.98 kB / 0.6434 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4178, allocations: 42.56 kB / 0.6435 GB, free: 2.953 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.433e-06/0.4178, allocations: 0 / 0.6435 GB, free: 2.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002154/0.42, allocations: 1.662 MB / 0.6451 GB, free: 1.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.42, allocations: 81.11 kB / 0.6452 GB, free: 1.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.4234, allocations: 3.439 MB / 0.6485 GB, free: 13.67 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4234, allocations: 41.7 kB / 0.6486 GB, free: 13.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.4241, allocations: 0.9635 MB / 0.6495 GB, free: 12.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4243, allocations: 149.9 kB / 0.6496 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4244, allocations: 130.1 kB / 0.6498 GB, free: 12.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4245, allocations: 334 kB / 0.6501 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4249, allocations: 209.2 kB / 0.6503 GB, free: 11.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.4253, allocations: 394 kB / 0.6507 GB, free: 11.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.426, allocations: 0.5681 MB / 0.6512 GB, free: 10.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.426, allocations: 4 kB / 0.6512 GB, free: 10.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001141/0.4272, allocations: 0.8568 MB / 0.652 GB, free: 9.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4272, allocations: 8 kB / 0.6521 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4272, allocations: 7.938 kB / 0.6521 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4272, allocations: 12 kB / 0.6521 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.4282, allocations: 215.7 kB / 0.6523 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005632/0.4288, allocations: 1.203 MB / 0.6535 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.4294, allocations: 41.38 kB / 0.6535 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.4295, allocations: 32 kB / 0.6535 GB, free: 8.293 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.4301, allocations: 0.5952 MB / 0.6541 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.4304, allocations: 217.3 kB / 0.6543 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007426/0.4311, allocations: 0.5458 MB / 0.6548 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4311, allocations: 7.938 kB / 0.6549 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4311, allocations: 4 kB / 0.6549 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4311, allocations: 0 / 0.6549 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.4333, allocations: 1.822 MB / 0.6566 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4333, allocations: 0 / 0.6566 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.434, allocations: 131.8 kB / 0.6568 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.434, allocations: 4 kB / 0.6568 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.4341, allocations: 12 kB / 0.6568 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000517/0.4346, allocations: 1.192 MB / 0.6579 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4346, allocations: 0 / 0.6579 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/0.4355, allocations: 0.7814 MB / 0.6587 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.4361, allocations: 422.4 kB / 0.6591 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.4363, allocations: 12 kB / 0.6591 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.437, allocations: 39.88 kB / 0.6592 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.4371, allocations: 19.97 kB / 0.6592 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.4372, allocations: 35.97 kB / 0.6592 GB, free: 2.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.4397, allocations: 2.443 MB / 0.6616 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4397, allocations: 0 / 0.6616 GB, free: 15.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007466/0.4404, allocations: 331.9 kB / 0.6619 GB, free: 15.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.4428, allocations: 1.768 MB / 0.6636 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.4436, allocations: 463.8 kB / 0.6641 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4436, allocations: 0.5625 kB / 0.6641 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4439, allocations: 171.5 kB / 0.6642 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.4461, allocations: 0.5745 MB / 0.6648 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.4719, allocations: 22.3 MB / 0.6866 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.4729, allocations: 1.464 MB / 0.688 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008742/0.4738, allocations: 348.6 kB / 0.6883 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.4745, allocations: 0.7297 MB / 0.6891 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.4745, allocations: 0 / 0.6891 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/0.5904, allocations: 46.45 MB / 0.7344 GB, free: 3.359 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.5906, allocations: 251.2 kB / 0.7347 GB, free: 3.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.132, allocations: 0 / 0.7347 GB, free: 3.105 MB / 0.545 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)