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.001305/0.001305, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001456/0.001456, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1514/0.1514, allocations: 26.81 MB / 341.5 MB, free: 8.195 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.00207/0.00207, allocations: 71.89 kB / 478.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 60.47 MB / 0.5259 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2207/0.5245, allocations: 183.5 MB / 0.7052 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.5287, allocations: 2.19 MB / 0.7073 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.5292, allocations: 19.88 kB / 0.7073 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.5303, allocations: 393.5 kB / 0.7077 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.5321, allocations: 0.8712 MB / 0.7085 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.5348, allocations: 1.116 MB / 0.7096 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.5372, allocations: 1.949 MB / 0.7115 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.5381, allocations: 0.5905 MB / 0.7121 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.5395, allocations: 0.8756 MB / 0.713 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.5406, allocations: 0.8644 MB / 0.7138 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.5407, allocations: 88 kB / 0.7139 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.5423, allocations: 0.7131 MB / 0.7146 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007157/0.543, allocations: 0.8141 MB / 0.7154 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009415/0.5439, allocations: 0.9476 MB / 0.7163 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.5468, allocations: 2.474 MB / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5468, allocations: 0 / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5468, allocations: 0 / 0.7187 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.5468, allocations: 0 / 0.7187 GB, free: 14.96 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.003816/0.5506, allocations: 2.4 MB / 0.7211 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5507, allocations: 11.97 kB / 0.7211 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.5516, allocations: 314.4 kB / 0.7214 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.5539, allocations: 1.34 MB / 0.7227 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.554, allocations: 129.3 kB / 0.7228 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5541, allocations: 87.95 kB / 0.7229 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5559, allocations: 1.136 MB / 0.724 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.556, allocations: 7.938 kB / 0.724 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.5561, allocations: 40 kB / 0.724 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.5561, allocations: 34 kB / 0.7241 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5575, allocations: 0.8197 MB / 0.7249 GB, free: 8.473 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.007816/0.5653, allocations: 4.831 MB / 0.7296 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.566, allocations: 289.8 kB / 0.7299 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.5662, allocations: 142.4 kB / 0.73 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.5662, allocations: 11.98 kB / 0.73 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.5663, allocations: 46.5 kB / 0.7301 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 1.803e-06/0.5663, allocations: 0 / 0.7301 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.002714/0.569, allocations: 1.652 MB / 0.7317 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5691, allocations: 85.23 kB / 0.7318 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2119/0.7809, allocations: 3.439 MB / 0.7351 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.7811, allocations: 40.33 kB / 0.7352 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.7819, allocations: 0.9809 MB / 0.7361 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.782, allocations: 146.8 kB / 0.7363 GB, free: 193.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.7823, allocations: 130.4 kB / 0.7364 GB, free: 193 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.7823, allocations: 327.9 kB / 0.7367 GB, free: 192.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.7828, allocations: 206 kB / 0.7369 GB, free: 192.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.7834, allocations: 406 kB / 0.7373 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.7841, allocations: 0.5589 MB / 0.7378 GB, free: 192 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7841, allocations: 2.125 kB / 0.7378 GB, free: 192 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001461/0.7856, allocations: 0.8688 MB / 0.7387 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.7856, allocations: 11.86 kB / 0.7387 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7856, allocations: 5.75 kB / 0.7387 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.7856, allocations: 13.94 kB / 0.7387 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7867, allocations: 216.7 kB / 0.7389 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004249/0.7871, allocations: 1.213 MB / 0.7401 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.7879, allocations: 33.3 kB / 0.7401 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.788, allocations: 30.3 kB / 0.7402 GB, free: 190.5 MB / 0.5606 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.0007845/0.7888, allocations: 0.5881 MB / 0.7407 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.789, allocations: 232.5 kB / 0.741 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.7899, allocations: 0.5367 MB / 0.7415 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.7899, allocations: 5.266 kB / 0.7415 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7899, allocations: 5.062 kB / 0.7415 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7899, allocations: 1.828 kB / 0.7415 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.7926, allocations: 1.796 MB / 0.7432 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7926, allocations: 2.812 kB / 0.7432 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/0.7934, allocations: 138.2 kB / 0.7434 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7934, allocations: 5.703 kB / 0.7434 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7934, allocations: 9.109 kB / 0.7434 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003715/0.7938, allocations: 1.191 MB / 0.7446 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.7938, allocations: 3.938 kB / 0.7446 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.7947, allocations: 0.7702 MB / 0.7453 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000793/0.7955, allocations: 354.8 kB / 0.7456 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.7957, allocations: 15.91 kB / 0.7457 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.7964, allocations: 38.27 kB / 0.7457 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.7965, allocations: 26.28 kB / 0.7457 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.7965, allocations: 24.27 kB / 0.7457 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003093/0.7996, allocations: 2.448 MB / 0.7481 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7996, allocations: 0 / 0.7481 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001124/0.8008, allocations: 343.5 kB / 0.7485 GB, free: 186.5 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.001826/0.8026, allocations: 0.556 MB / 0.749 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.8036, allocations: 442.1 kB / 0.7494 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.8036, allocations: 2.781 kB / 0.7494 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.804, allocations: 160.7 kB / 0.7496 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.8066, allocations: 0.5953 MB / 0.7502 GB, free: 186 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.8121, allocations: 3.829 MB / 0.7539 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.813, allocations: 1.473 MB / 0.7553 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.8134, allocations: 114.7 kB / 0.7555 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.8134, allocations: 0 / 0.7555 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04219/0.8556, allocations: 38.66 MB / 0.7932 GB, free: 147.4 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: 12.203903834102675] Failed to read output from testmodel.py, exit status != 0: 0.8639553419779986 0.873137662 0.324114432 Calling exit ...