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.0007881/0.0007886, allocations: 91.02 kB / 16.65 MB, free: 6.586 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.0008521/0.0008521, allocations: 180.3 kB / 17.56 MB, free: 6.203 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.118/1.118, 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.218/0.218, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0004694/0.0004695, allocations: 14.59 kB / 391.9 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07661, allocations: 60.26 MB / 452.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3241/0.4007, allocations: 182 MB / 0.6193 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.4038, allocations: 1.97 MB / 0.6213 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.4041, allocations: 9.656 kB / 0.6213 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.4049, allocations: 323.5 kB / 0.6216 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.4059, allocations: 0.7541 MB / 0.6223 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4078, allocations: 0.9786 MB / 0.6233 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.4096, allocations: 2.335 MB / 0.6256 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.4102, allocations: 0.5584 MB / 0.6261 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008405/0.4111, allocations: 0.7262 MB / 0.6268 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007051/0.4118, allocations: 0.8017 MB / 0.6276 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.684e-05/0.4119, allocations: 43.94 kB / 0.6276 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.4133, allocations: 0.9447 MB / 0.6286 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.4138, allocations: 0.7614 MB / 0.6293 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000627/0.4145, allocations: 0.9068 MB / 0.6302 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.4164, allocations: 2.437 MB / 0.6326 GB, free: 6.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4164, allocations: 4 kB / 0.6326 GB, free: 6.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4164, allocations: 0 / 0.6326 GB, free: 6.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4164, allocations: 4 kB / 0.6326 GB, free: 6.309 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002536/0.4189, allocations: 2.008 MB / 0.6345 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.419, allocations: 8.031 kB / 0.6345 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.4192, allocations: 144.2 kB / 0.6347 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.4199, allocations: 309 kB / 0.635 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.4215, allocations: 1.392 MB / 0.6363 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.4216, allocations: 91.7 kB / 0.6364 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4217, allocations: 88 kB / 0.6365 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4232, allocations: 1.144 MB / 0.6376 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.4232, allocations: 0 / 0.6376 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.4233, allocations: 44.88 kB / 0.6377 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.4234, allocations: 34 kB / 0.6377 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.4245, allocations: 0.8274 MB / 0.6385 GB, free: 32 kB / 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.005978/0.4305, allocations: 5.172 MB / 0.6436 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.431, allocations: 325.1 kB / 0.6439 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.4313, allocations: 153.6 kB / 0.644 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.4313, allocations: 7.938 kB / 0.644 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4313, allocations: 46.5 kB / 0.6441 GB, free: 10.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.482e-06/0.4313, allocations: 0 / 0.6441 GB, free: 10.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002124/0.4335, allocations: 1.659 MB / 0.6457 GB, free: 8.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4335, allocations: 85.05 kB / 0.6458 GB, free: 8.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.4369, allocations: 3.439 MB / 0.6491 GB, free: 4.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.4369, allocations: 41.7 kB / 0.6492 GB, free: 4.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.4376, allocations: 0.9751 MB / 0.6501 GB, free: 3.754 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.4377, allocations: 141.9 kB / 0.6503 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.4378, allocations: 57.69 kB / 0.6503 GB, free: 3.551 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.4379, allocations: 334 kB / 0.6506 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.4382, allocations: 209.2 kB / 0.6508 GB, free: 3.012 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.4386, allocations: 398 kB / 0.6512 GB, free: 2.543 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.4393, allocations: 0.5642 MB / 0.6518 GB, free: 1.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4393, allocations: 8 kB / 0.6518 GB, free: 1.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001103/0.4404, allocations: 0.8487 MB / 0.6526 GB, free: 1.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4405, allocations: 8 kB / 0.6526 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4405, allocations: 8 kB / 0.6526 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4405, allocations: 8 kB / 0.6526 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/0.4415, allocations: 223.7 kB / 0.6528 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005226/0.442, allocations: 1.207 MB / 0.654 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.4427, allocations: 35.89 kB / 0.654 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.4427, allocations: 40.17 kB / 0.6541 GB, free: 15.46 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.0005891/0.4433, allocations: 0.591 MB / 0.6547 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.4436, allocations: 217.3 kB / 0.6549 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.4443, allocations: 0.5413 MB / 0.6554 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4444, allocations: 7.938 kB / 0.6554 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4444, allocations: 0 / 0.6554 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4444, allocations: 11.98 kB / 0.6554 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.4465, allocations: 1.814 MB / 0.6572 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4466, allocations: 4 kB / 0.6572 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.4472, allocations: 127.8 kB / 0.6573 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4472, allocations: 8.062 kB / 0.6573 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4473, allocations: 12 kB / 0.6573 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000481/0.4478, allocations: 1.199 MB / 0.6585 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4478, allocations: 192 / 0.6585 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.4487, allocations: 0.7777 MB / 0.6593 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.4492, allocations: 434.3 kB / 0.6597 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4494, allocations: 12 kB / 0.6597 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/0.4501, allocations: 43.88 kB / 0.6597 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.4502, allocations: 23.95 kB / 0.6598 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.4502, allocations: 27.98 kB / 0.6598 GB, free: 9.449 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002478/0.4527, allocations: 2.447 MB / 0.6622 GB, free: 6.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4527, allocations: 0 / 0.6622 GB, free: 6.992 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000826/0.4536, allocations: 335.9 kB / 0.6625 GB, free: 6.664 MB / 478.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.002301/0.4559, allocations: 1.768 MB / 0.6642 GB, free: 4.867 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007862/0.4567, allocations: 467.7 kB / 0.6647 GB, free: 4.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4567, allocations: 8.438 kB / 0.6647 GB, free: 4.402 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.457, allocations: 179.9 kB / 0.6648 GB, free: 4.227 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.4596, allocations: 0.5547 MB / 0.6654 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/0.4851, allocations: 22.41 MB / 0.6873 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000919/0.4861, allocations: 1.468 MB / 0.6887 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009751/0.4871, allocations: 344.6 kB / 0.689 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.4878, allocations: 0.7335 MB / 0.6897 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.4878, allocations: 0 / 0.6897 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.588/5.075, allocations: 45.79 MB / 0.7345 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/5.076, allocations: 248.9 kB / 0.7347 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/7.531, allocations: 0 / 0.7347 GB, free: 203.9 MB / 0.5294 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)