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.0007852/0.0007852, allocations: 86.91 kB / 16.31 MB, free: 6.449 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.0009233/0.0009233, allocations: 181.2 kB / 17.21 MB, free: 6.32 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.41/1.41, allocations: 205.4 MB / 223.4 MB, free: 5.262 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3541/0.3541, allocations: 48.77 MB / 320.4 MB, free: 3.879 MB / 254.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.0005358/0.0005359, allocations: 16 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09926, allocations: 60.26 MB / 451.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.308/0.4073, allocations: 169.6 MB / 0.6065 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.4105, allocations: 1.907 MB / 0.6084 GB, free: 1.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.4108, allocations: 11.94 kB / 0.6084 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.4115, allocations: 270.3 kB / 0.6087 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4126, allocations: 0.7545 MB / 0.6094 GB, free: 456 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.4145, allocations: 0.8279 MB / 0.6102 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.4164, allocations: 1.98 MB / 0.6122 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.417, allocations: 0.5428 MB / 0.6127 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009156/0.4179, allocations: 0.7162 MB / 0.6134 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.4188, allocations: 0.7593 MB / 0.6141 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.4189, allocations: 43.94 kB / 0.6142 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.4201, allocations: 0.7096 MB / 0.6149 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007044/0.4208, allocations: 0.7793 MB / 0.6156 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.4212, allocations: 364.5 kB / 0.616 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4227, allocations: 1.854 MB / 0.6178 GB, free: 7.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4227, allocations: 0 / 0.6178 GB, free: 7.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4228, allocations: 8 kB / 0.6178 GB, free: 7.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.4228, allocations: 0 / 0.6178 GB, free: 7.855 MB / 494.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.002759/0.4255, allocations: 2.032 MB / 0.6198 GB, free: 5.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4256, allocations: 8.031 kB / 0.6198 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.4258, allocations: 147.5 kB / 0.6199 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.4266, allocations: 318.8 kB / 0.6202 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.4283, allocations: 1.295 MB / 0.6215 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.4284, allocations: 103.6 kB / 0.6216 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4285, allocations: 84 kB / 0.6217 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4301, allocations: 1.128 MB / 0.6228 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.4301, allocations: 8 kB / 0.6228 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.4302, allocations: 40 kB / 0.6228 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.4303, allocations: 37.98 kB / 0.6229 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.4314, allocations: 0.8157 MB / 0.6236 GB, free: 1.656 MB / 494.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.164/0.5954, allocations: 5.168 MB / 0.6287 GB, free: 152.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.5959, allocations: 321.3 kB / 0.629 GB, free: 152.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.5961, allocations: 140.6 kB / 0.6291 GB, free: 152.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.5962, allocations: 9.109 kB / 0.6291 GB, free: 152.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5962, allocations: 49.47 kB / 0.6292 GB, free: 152.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.474e-06/0.5962, allocations: 0 / 0.6292 GB, free: 152.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.001849/0.598, allocations: 1.663 MB / 0.6308 GB, free: 151.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5981, allocations: 79.58 kB / 0.6309 GB, free: 151.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.6011, allocations: 3.431 MB / 0.6342 GB, free: 151.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.6011, allocations: 39.61 kB / 0.6343 GB, free: 151.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.6017, allocations: 0.9778 MB / 0.6352 GB, free: 151 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.6017, allocations: 140.3 kB / 0.6354 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.6018, allocations: 14.91 kB / 0.6354 GB, free: 150.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.6018, allocations: 335.6 kB / 0.6357 GB, free: 150.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.6021, allocations: 196.8 kB / 0.6359 GB, free: 150.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.6024, allocations: 401.3 kB / 0.6363 GB, free: 150.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.6028, allocations: 261.8 kB / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6028, allocations: 0 / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009365/0.6037, allocations: 0.8503 MB / 0.6374 GB, free: 149.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6037, allocations: 7.875 kB / 0.6374 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6037, allocations: 5.781 kB / 0.6374 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6038, allocations: 15.39 kB / 0.6374 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.6046, allocations: 216.5 kB / 0.6376 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003428/0.605, allocations: 1.206 MB / 0.6388 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.6056, allocations: 41.02 kB / 0.6388 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.6056, allocations: 44.27 kB / 0.6388 GB, free: 148.6 MB / 494.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000481/0.6061, allocations: 0.5871 MB / 0.6394 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6063, allocations: 220.5 kB / 0.6396 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.607, allocations: 0.5363 MB / 0.6402 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.607, allocations: 3.312 kB / 0.6402 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.607, allocations: 4.344 kB / 0.6402 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.607, allocations: 6.609 kB / 0.6402 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.6088, allocations: 1.819 MB / 0.6419 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6088, allocations: 0 / 0.6419 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.6094, allocations: 141.7 kB / 0.6421 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6094, allocations: 1.5 kB / 0.6421 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.6094, allocations: 11.66 kB / 0.6421 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003107/0.6097, allocations: 1.2 MB / 0.6433 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6098, allocations: 1.062 kB / 0.6433 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.6106, allocations: 0.7611 MB / 0.644 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.6111, allocations: 438.2 kB / 0.6444 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.6113, allocations: 11.66 kB / 0.6444 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.6119, allocations: 36.09 kB / 0.6445 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.612, allocations: 25.28 kB / 0.6445 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.612, allocations: 24.94 kB / 0.6445 GB, free: 145.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002497/0.6145, allocations: 2.448 MB / 0.6469 GB, free: 144.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6146, allocations: 0 / 0.6469 GB, free: 144.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008349/0.6154, allocations: 337.8 kB / 0.6472 GB, free: 144.5 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002023/0.6174, allocations: 1.712 MB / 0.6489 GB, free: 143.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.6182, allocations: 473.6 kB / 0.6494 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6182, allocations: 3 kB / 0.6494 GB, free: 143.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.6185, allocations: 166.4 kB / 0.6495 GB, free: 143.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.6207, allocations: 0.5725 MB / 0.6501 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/0.6402, allocations: 14.64 MB / 0.6644 GB, free: 135.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.6413, allocations: 1.474 MB / 0.6658 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.6423, allocations: 343.9 kB / 0.6661 GB, free: 134.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.643, allocations: 0.7303 MB / 0.6669 GB, free: 134.3 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.643, allocations: 0 / 0.6669 GB, free: 134.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7257/1.369, allocations: 44.64 MB / 0.7104 GB, free: 94.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.369, allocations: 241.2 kB / 0.7107 GB, free: 94.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/4.941, allocations: 4 kB / 0.7107 GB, free: 94.25 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: