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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3202/0.3202, allocations: 49.57 MB / 336.3 MB, free: 4.195 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 75.89 kB / 476.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1369, allocations: 62.43 MB / 0.5261 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5097/0.6466, allocations: 187 MB / 0.7088 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004092/0.6507, allocations: 1.961 MB / 0.7107 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.6515, allocations: 15.88 kB / 0.7107 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.6529, allocations: 385.5 kB / 0.7111 GB, free: 8.66 MB / 0.545 GB [/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.002046/0.655, allocations: 0.805 MB / 0.7119 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.6579, allocations: 1.082 MB / 0.7129 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.6606, allocations: 1.914 MB / 0.7148 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6617, allocations: 0.5672 MB / 0.7153 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.6634, allocations: 0.8523 MB / 0.7162 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.665, allocations: 0.8567 MB / 0.717 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.6654, allocations: 84 kB / 0.7171 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.6674, allocations: 0.6974 MB / 0.7178 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008798/0.6683, allocations: 0.8102 MB / 0.7186 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.67, allocations: 0.9476 MB / 0.7195 GB, free: 12 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.6736, allocations: 2.458 MB / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6736, allocations: 0 / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6736, allocations: 0 / 0.7219 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.891e-05/0.6737, allocations: 0 / 0.7219 GB, free: 13.54 MB / 0.5606 GB 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.004469/0.6782, allocations: 2.401 MB / 0.7242 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6782, allocations: 8.031 kB / 0.7242 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.6784, allocations: 147.5 kB / 0.7244 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.6793, allocations: 310.4 kB / 0.7247 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.6816, allocations: 1.356 MB / 0.726 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6817, allocations: 117.4 kB / 0.7261 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.6819, allocations: 84 kB / 0.7262 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6836, allocations: 1.138 MB / 0.7273 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.6836, allocations: 7.938 kB / 0.7273 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.6837, allocations: 44 kB / 0.7273 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.6837, allocations: 30 kB / 0.7274 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.685, allocations: 0.8226 MB / 0.7282 GB, free: 6.914 MB / 0.5606 GB 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.007545/0.6926, allocations: 4.843 MB / 0.7329 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.6933, allocations: 298.4 kB / 0.7332 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.6936, allocations: 137.5 kB / 0.7333 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.6936, allocations: 8.594 kB / 0.7333 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.6937, allocations: 38.56 kB / 0.7334 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.504e-06/0.6937, allocations: 0 / 0.7334 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00312/0.6968, allocations: 1.64 MB / 0.735 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6969, allocations: 85.23 kB / 0.735 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/0.701, allocations: 3.435 MB / 0.7384 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.7011, allocations: 37.7 kB / 0.7384 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009044/0.702, allocations: 0.9916 MB / 0.7394 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.7021, allocations: 142.8 kB / 0.7395 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.7023, allocations: 130.2 kB / 0.7397 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7025, allocations: 333.9 kB / 0.74 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.7028, allocations: 213.1 kB / 0.7402 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.7033, allocations: 402 kB / 0.7406 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.7042, allocations: 0.5717 MB / 0.7411 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.7042, allocations: 0 / 0.7411 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001365/0.7055, allocations: 0.8694 MB / 0.742 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7055, allocations: 8.156 kB / 0.742 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.7055, allocations: 9.641 kB / 0.742 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.7056, allocations: 8 kB / 0.742 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.7066, allocations: 215.8 kB / 0.7422 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008501/0.7075, allocations: 1.207 MB / 0.7434 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.7082, allocations: 31.98 kB / 0.7434 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.7083, allocations: 28 kB / 0.7434 GB, free: 6.746 MB / 0.5762 GB 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.0008073/0.7091, allocations: 0.5872 MB / 0.744 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.7094, allocations: 237.8 kB / 0.7442 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008741/0.7103, allocations: 0.5381 MB / 0.7448 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7103, allocations: 4 kB / 0.7448 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7103, allocations: 0 / 0.7448 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7103, allocations: 0 / 0.7448 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.7131, allocations: 1.802 MB / 0.7465 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7131, allocations: 0 / 0.7465 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.7138, allocations: 127.9 kB / 0.7467 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7138, allocations: 4 kB / 0.7467 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.7138, allocations: 12 kB / 0.7467 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007176/0.7145, allocations: 1.195 MB / 0.7478 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7145, allocations: 0 / 0.7478 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.7156, allocations: 0.7764 MB / 0.7486 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.7165, allocations: 358.4 kB / 0.7489 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.7167, allocations: 8 kB / 0.7489 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.7174, allocations: 40.94 kB / 0.749 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.7175, allocations: 27.89 kB / 0.749 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.7175, allocations: 27.97 kB / 0.749 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003112/0.7206, allocations: 2.443 MB / 0.7514 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7206, allocations: 0 / 0.7514 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001024/0.7217, allocations: 335.8 kB / 0.7517 GB, free: 14.08 MB / 0.5919 GB 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.003278/0.7249, allocations: 1.781 MB / 0.7535 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7259, allocations: 450.4 kB / 0.7539 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7259, allocations: 2.062 kB / 0.7539 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.7263, allocations: 159.6 kB / 0.7541 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7289, allocations: 0.5855 MB / 0.7546 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.277/1.006, allocations: 18.63 MB / 0.7728 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.007, allocations: 1.47 MB / 0.7743 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001078/1.008, allocations: 340.3 kB / 0.7746 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/1.009, allocations: 0.7308 MB / 0.7753 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.009, allocations: 0 / 0.7753 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08715/1.096, allocations: 47.03 MB / 0.8212 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18.05, allocations: 8.062 kB / 0.8212 GB, free: 173.8 MB / 0.5919 GB " [Timeout remaining time 642] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.366114961914718] Failed to read output from testmodel.py, exit status != 0: 18.24963473994285 18.267504175 17.590074629 Calling exit ...