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.001343/0.001343, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001473/0.001473, allocations: 210 kB / 24.48 MB, free: 3.938 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.396/1.396, allocations: 207.7 MB / 235.3 MB, free: 9.77 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.2996/0.2996, allocations: 49.6 MB / 337.2 MB, free: 3.867 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: translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [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.002344/0.002344, allocations: 79.89 kB / 477.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.121, allocations: 62.43 MB / 0.5274 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4087/0.5297, allocations: 161.4 MB / 0.685 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.5336, allocations: 1.874 MB / 0.6868 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.5342, allocations: 19.88 kB / 0.6868 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.5353, allocations: 357.6 kB / 0.6872 GB, free: 1.238 MB / 0.5137 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.001772/0.5371, allocations: 0.8089 MB / 0.688 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.5398, allocations: 1.076 MB / 0.689 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.5422, allocations: 1.902 MB / 0.6909 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009616/0.5432, allocations: 0.5671 MB / 0.6914 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.5448, allocations: 0.8561 MB / 0.6923 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5462, allocations: 0.8099 MB / 0.6931 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.5465, allocations: 84 kB / 0.6931 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.5481, allocations: 0.6116 MB / 0.6937 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.549, allocations: 0.8102 MB / 0.6945 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.5501, allocations: 0.7497 MB / 0.6953 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.5529, allocations: 2.455 MB / 0.6977 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.5529, allocations: 0 / 0.6977 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5529, allocations: 0 / 0.6977 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.287e-05/0.5529, allocations: 0 / 0.6977 GB, free: 6.473 MB / 0.5294 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.003796/0.5567, allocations: 2.37 MB / 0.7 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5568, allocations: 12.03 kB / 0.7 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009547/0.5577, allocations: 310.4 kB / 0.7003 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.56, allocations: 1.332 MB / 0.7016 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.5602, allocations: 125.3 kB / 0.7017 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5603, allocations: 87.98 kB / 0.7018 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.5625, allocations: 1.844 MB / 0.7036 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5626, allocations: 0 / 0.7036 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.5626, allocations: 48 kB / 0.7036 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.5627, allocations: 37.98 kB / 0.7037 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.5641, allocations: 0.8194 MB / 0.7045 GB, free: 15.15 MB / 0.545 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.007072/0.5711, allocations: 4.047 MB / 0.7084 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.5718, allocations: 285.3 kB / 0.7087 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.572, allocations: 137.5 kB / 0.7088 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.5721, allocations: 12.59 kB / 0.7088 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.5721, allocations: 42.5 kB / 0.7089 GB, free: 10.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/0.5721, allocations: 0 / 0.7089 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.002655/0.5748, allocations: 1.598 MB / 0.7104 GB, free: 8.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.5748, allocations: 85.11 kB / 0.7105 GB, free: 8.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.5785, allocations: 2.967 MB / 0.7134 GB, free: 5.758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.5785, allocations: 41.64 kB / 0.7135 GB, free: 5.711 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000884/0.5794, allocations: 0.9808 MB / 0.7144 GB, free: 4.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5795, allocations: 154.7 kB / 0.7146 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.5798, allocations: 130.2 kB / 0.7147 GB, free: 4.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5799, allocations: 334 kB / 0.715 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.5803, allocations: 205.2 kB / 0.7152 GB, free: 3.898 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.5808, allocations: 398 kB / 0.7156 GB, free: 3.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.5817, allocations: 0.5757 MB / 0.7161 GB, free: 2.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5817, allocations: 0 / 0.7161 GB, free: 2.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001325/0.583, allocations: 0.8228 MB / 0.717 GB, free: 1.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.583, allocations: 8 kB / 0.717 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.5831, allocations: 10.5 kB / 0.717 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.5831, allocations: 12 kB / 0.717 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.5841, allocations: 211.7 kB / 0.7172 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/0.585, allocations: 1.215 MB / 0.7184 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.5856, allocations: 24.03 kB / 0.7184 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.5857, allocations: 46.7 kB / 0.7184 GB, free: 384 kB / 0.545 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.0008226/0.5865, allocations: 0.5833 MB / 0.719 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.5868, allocations: 194.7 kB / 0.7192 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.5876, allocations: 0.4957 MB / 0.7197 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5876, allocations: 8.188 kB / 0.7197 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5876, allocations: 3.938 kB / 0.7197 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5876, allocations: 7.984 kB / 0.7197 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.5903, allocations: 1.537 MB / 0.7212 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5903, allocations: 0.9375 kB / 0.7212 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.591, allocations: 137.9 kB / 0.7213 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.591, allocations: 3.938 kB / 0.7213 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5911, allocations: 12.05 kB / 0.7213 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007478/0.5918, allocations: 1.199 MB / 0.7225 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5918, allocations: 0 / 0.7225 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5929, allocations: 0.7316 MB / 0.7232 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/0.5937, allocations: 298.7 kB / 0.7235 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5938, allocations: 11.94 kB / 0.7235 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.5945, allocations: 36.16 kB / 0.7236 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.5945, allocations: 27.95 kB / 0.7236 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.5946, allocations: 23.97 kB / 0.7236 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002714/0.5973, allocations: 2.097 MB / 0.7257 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5973, allocations: 0 / 0.7257 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009352/0.5982, allocations: 331.7 kB / 0.726 GB, free: 8.504 MB / 0.5606 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.001945/0.6002, allocations: 0.5794 MB / 0.7265 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009766/0.6012, allocations: 439.3 kB / 0.727 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.6012, allocations: 4.5 kB / 0.727 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.6015, allocations: 156.4 kB / 0.7271 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.6029, allocations: 302.6 kB / 0.7274 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.6089, allocations: 3.756 MB / 0.7311 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.61, allocations: 0.8768 MB / 0.7319 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.6103, allocations: 95.42 kB / 0.732 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.6103, allocations: 0 / 0.732 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of Templates: time 0.2542/0.8645, allocations: 34.68 MB / 0.7659 GB, free: 207 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.538857731968164] Failed to read output from testmodel.py, exit status != 0: 0.8731471062637866 0.885121825 0.32954076800000004 Calling exit ...