Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001327/0.001327, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001635/0.001635, allocations: 209.2 kB / 24.48 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1459/0.1459, allocations: 26.85 MB / 341.5 MB, free: 7.977 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002117/0.002117, allocations: 63.89 kB / 478 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2987, allocations: 60.48 MB / 0.5259 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.211/0.5098, allocations: 158.7 MB / 0.6809 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.5143, allocations: 2.1 MB / 0.6829 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.5148, allocations: 15.88 kB / 0.683 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.5159, allocations: 369.6 kB / 0.6833 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.5177, allocations: 0.8713 MB / 0.6842 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.5205, allocations: 1.108 MB / 0.6852 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.5232, allocations: 1.933 MB / 0.6871 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5243, allocations: 0.5866 MB / 0.6877 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.5262, allocations: 0.8756 MB / 0.6886 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.5277, allocations: 0.8293 MB / 0.6894 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.5279, allocations: 84 kB / 0.6895 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.5296, allocations: 0.6273 MB / 0.6901 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008008/0.5304, allocations: 0.8102 MB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.5314, allocations: 0.7574 MB / 0.6916 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.5346, allocations: 2.485 MB / 0.694 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5346, allocations: 4 kB / 0.694 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5346, allocations: 0 / 0.694 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.719e-05/0.5347, allocations: 0 / 0.694 GB, free: 7.992 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.004183/0.5389, allocations: 2.405 MB / 0.6964 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5389, allocations: 8.031 kB / 0.6964 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/0.5399, allocations: 314.4 kB / 0.6967 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.5424, allocations: 1.348 MB / 0.698 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.5425, allocations: 117.4 kB / 0.6981 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5427, allocations: 87.95 kB / 0.6982 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.5451, allocations: 1.854 MB / 0.7 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.5451, allocations: 0 / 0.7 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5452, allocations: 40 kB / 0.7 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.5453, allocations: 34 kB / 0.7001 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.5467, allocations: 0.8196 MB / 0.7009 GB, free: 0.6289 MB / 0.5294 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.008215/0.5549, allocations: 4.055 MB / 0.7048 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.5556, allocations: 301.7 kB / 0.7051 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.5559, allocations: 130.6 kB / 0.7052 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.5559, allocations: 11.98 kB / 0.7053 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.556, allocations: 46.48 kB / 0.7053 GB, free: 11.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.605e-06/0.556, allocations: 0 / 0.7053 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.003101/0.5591, allocations: 1.613 MB / 0.7069 GB, free: 10.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5592, allocations: 81.11 kB / 0.707 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.5633, allocations: 3.004 MB / 0.7099 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.5634, allocations: 41.83 kB / 0.7099 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.5643, allocations: 0.9888 MB / 0.7109 GB, free: 6.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.5645, allocations: 146.8 kB / 0.711 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.5647, allocations: 130.3 kB / 0.7112 GB, free: 5.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5649, allocations: 334 kB / 0.7115 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.5653, allocations: 197.2 kB / 0.7117 GB, free: 5.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.5658, allocations: 406 kB / 0.7121 GB, free: 4.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.5667, allocations: 0.5603 MB / 0.7126 GB, free: 4.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.5668, allocations: 4 kB / 0.7126 GB, free: 4.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001588/0.5683, allocations: 0.8347 MB / 0.7134 GB, free: 3.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5684, allocations: 8 kB / 0.7134 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5684, allocations: 8.062 kB / 0.7134 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.5684, allocations: 12 kB / 0.7134 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.5695, allocations: 211.7 kB / 0.7136 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008282/0.5703, allocations: 1.207 MB / 0.7148 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.5711, allocations: 31.92 kB / 0.7149 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.5711, allocations: 36.19 kB / 0.7149 GB, free: 1.793 MB / 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.0009426/0.5721, allocations: 0.5911 MB / 0.7155 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.5724, allocations: 194.7 kB / 0.7157 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009748/0.5734, allocations: 0.5224 MB / 0.7162 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.5734, allocations: 4 kB / 0.7162 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5734, allocations: 0 / 0.7162 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5734, allocations: 3.938 kB / 0.7162 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.5765, allocations: 1.566 MB / 0.7177 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5765, allocations: 0 / 0.7177 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.5772, allocations: 127.9 kB / 0.7178 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.5772, allocations: 0 / 0.7178 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.5773, allocations: 15.98 kB / 0.7178 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008279/0.5781, allocations: 1.195 MB / 0.719 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5781, allocations: 4.25 kB / 0.719 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.5794, allocations: 0.7447 MB / 0.7197 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000911/0.5803, allocations: 294.7 kB / 0.72 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5805, allocations: 12 kB / 0.72 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.5812, allocations: 31.97 kB / 0.7201 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.5813, allocations: 23.95 kB / 0.7201 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.5813, allocations: 27.97 kB / 0.7201 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002945/0.5843, allocations: 2.122 MB / 0.7222 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5843, allocations: 4 kB / 0.7222 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001231/0.5855, allocations: 327.8 kB / 0.7225 GB, free: 9.844 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.001955/0.5875, allocations: 0.5758 MB / 0.7231 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.5886, allocations: 450.3 kB / 0.7235 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.5886, allocations: 4.5 kB / 0.7235 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.5889, allocations: 151.8 kB / 0.7236 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5905, allocations: 310.9 kB / 0.7239 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.5969, allocations: 3.77 MB / 0.7276 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.598, allocations: 0.889 MB / 0.7285 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.5984, allocations: 99.42 kB / 0.7286 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.5984, allocations: 0 / 0.7286 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.2648/0.8631, allocations: 35.08 MB / 0.7628 GB, free: 175.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.707000481081195] Failed to read output from testmodel.py, exit status != 0: 0.8714093680027872 0.880428965 0.34346126199999993 Calling exit ...