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.001136/0.001136, allocations: 105.2 kB / 16.62 MB, free: 6.809 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.001116/0.001116, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.206/1.206, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2401/0.2401, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001348/0.001348, allocations: 65.17 kB / 389.6 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07825, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.334/0.4122, allocations: 184.1 MB / 0.618 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.4159, allocations: 1.968 MB / 0.62 GB, free: 9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.4163, allocations: 15.47 kB / 0.62 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.4172, allocations: 330.5 kB / 0.6203 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4185, allocations: 0.755 MB / 0.621 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.4206, allocations: 0.9913 MB / 0.622 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4222, allocations: 1.877 MB / 0.6238 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.4229, allocations: 0.638 MB / 0.6245 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.4238, allocations: 0.8178 MB / 0.6253 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000776/0.4246, allocations: 0.8513 MB / 0.6261 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4247, allocations: 84.97 kB / 0.6262 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4261, allocations: 0.8923 MB / 0.627 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.4266, allocations: 0.8024 MB / 0.6278 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.4274, allocations: 0.9476 MB / 0.6288 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4294, allocations: 2.519 MB / 0.6312 GB, free: 48 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4294, allocations: 0 / 0.6312 GB, free: 48 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4294, allocations: 0 / 0.6312 GB, free: 48 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4295, allocations: 0 / 0.6312 GB, free: 48 kB / 446.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.003062/0.4325, allocations: 2.4 MB / 0.6336 GB, free: 13.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4326, allocations: 11.89 kB / 0.6336 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.4327, allocations: 147.5 kB / 0.6337 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008277/0.4336, allocations: 301.1 kB / 0.634 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.4353, allocations: 1.388 MB / 0.6354 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/0.4354, allocations: 93.39 kB / 0.6354 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4355, allocations: 87.91 kB / 0.6355 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.437, allocations: 1.136 MB / 0.6366 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4371, allocations: 8 kB / 0.6366 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.4372, allocations: 44 kB / 0.6367 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.4372, allocations: 34 kB / 0.6367 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.4384, allocations: 0.8196 MB / 0.6375 GB, free: 9.387 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.006467/0.4448, allocations: 5.208 MB / 0.6426 GB, free: 3.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.4454, allocations: 317.1 kB / 0.6429 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.4457, allocations: 137.7 kB / 0.643 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.4457, allocations: 4 kB / 0.643 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4457, allocations: 46.56 kB / 0.6431 GB, free: 3.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.583e-06/0.4457, allocations: 0 / 0.6431 GB, free: 3.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002299/0.4481, allocations: 1.662 MB / 0.6447 GB, free: 1.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4481, allocations: 85.11 kB / 0.6448 GB, free: 1.586 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.4516, allocations: 3.435 MB / 0.6481 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.4517, allocations: 41.64 kB / 0.6482 GB, free: 14.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.4525, allocations: 0.9712 MB / 0.6491 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4526, allocations: 145.9 kB / 0.6493 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.4528, allocations: 134.1 kB / 0.6494 GB, free: 12.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4529, allocations: 337.9 kB / 0.6497 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.4532, allocations: 205.2 kB / 0.6499 GB, free: 12.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.4537, allocations: 398 kB / 0.6503 GB, free: 11.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.4543, allocations: 0.5642 MB / 0.6508 GB, free: 11.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4544, allocations: 4 kB / 0.6509 GB, free: 11.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001202/0.4556, allocations: 0.8527 MB / 0.6517 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4556, allocations: 8 kB / 0.6517 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4556, allocations: 11.98 kB / 0.6517 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4556, allocations: 8 kB / 0.6517 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4567, allocations: 213.2 kB / 0.6519 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006187/0.4573, allocations: 1.207 MB / 0.6531 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.458, allocations: 39.88 kB / 0.6531 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.4581, allocations: 32.19 kB / 0.6532 GB, free: 8.75 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.0006531/0.4587, allocations: 0.5989 MB / 0.6537 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.459, allocations: 217.3 kB / 0.654 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/0.4598, allocations: 0.5427 MB / 0.6545 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4598, allocations: 7.938 kB / 0.6545 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4598, allocations: 3.984 kB / 0.6545 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4599, allocations: 0 / 0.6545 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.4622, allocations: 1.822 MB / 0.6563 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4622, allocations: 1.5 kB / 0.6563 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.4629, allocations: 127.9 kB / 0.6564 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4629, allocations: 4 kB / 0.6564 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.463, allocations: 12.06 kB / 0.6564 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005628/0.4635, allocations: 1.199 MB / 0.6576 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4635, allocations: 4.031 kB / 0.6576 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/0.4645, allocations: 0.7697 MB / 0.6583 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.4651, allocations: 422.4 kB / 0.6587 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4653, allocations: 12 kB / 0.6588 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.4661, allocations: 47.86 kB / 0.6588 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.4661, allocations: 23.97 kB / 0.6588 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.4662, allocations: 23.97 kB / 0.6588 GB, free: 2.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002707/0.4689, allocations: 2.443 MB / 0.6612 GB, free: 304 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4689, allocations: 0 / 0.6612 GB, free: 304 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008515/0.4698, allocations: 336 kB / 0.6616 GB, free: 15.96 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.002555/0.4723, allocations: 1.776 MB / 0.6633 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009463/0.4733, allocations: 483.2 kB / 0.6637 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4733, allocations: 0.5625 kB / 0.6637 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.4736, allocations: 175.5 kB / 0.6639 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.476, allocations: 0.5825 MB / 0.6645 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02878/0.5048, allocations: 22.29 MB / 0.6863 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.5059, allocations: 1.472 MB / 0.6877 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001092/0.507, allocations: 344.6 kB / 0.688 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.5078, allocations: 0.7258 MB / 0.6887 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5078, allocations: 0 / 0.6887 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.578, allocations: 47.38 MB / 0.735 GB, free: 2.852 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.5782, allocations: 251.5 kB / 0.7352 GB, free: 2.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.291, allocations: 0 / 0.7352 GB, free: 2.598 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)