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.001403/0.001403, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.0016/0.0016, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.528/1.528, allocations: 207.6 MB / 235.3 MB, free: 9.988 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.3103/0.3103, allocations: 49.56 MB / 337.1 MB, free: 4.109 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.002281/0.002281, allocations: 76.45 kB / 477.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 62.42 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4849/0.6191, allocations: 187 MB / 0.71 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.6237, allocations: 1.959 MB / 0.7119 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.6246, allocations: 19.81 kB / 0.7119 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.626, allocations: 389.5 kB / 0.7123 GB, free: 8.34 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.002038/0.628, allocations: 0.805 MB / 0.7131 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.6311, allocations: 1.088 MB / 0.7141 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.634, allocations: 1.91 MB / 0.716 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6353, allocations: 0.5749 MB / 0.7166 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.6372, allocations: 0.8402 MB / 0.7174 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.6389, allocations: 0.8567 MB / 0.7182 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.6393, allocations: 91.94 kB / 0.7183 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.6416, allocations: 0.7013 MB / 0.719 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.6426, allocations: 0.7985 MB / 0.7198 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.6445, allocations: 0.9399 MB / 0.7207 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.6486, allocations: 2.439 MB / 0.7231 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6486, allocations: 0 / 0.7231 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6486, allocations: 0 / 0.7231 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001094/0.6487, allocations: 4 kB / 0.7231 GB, free: 13.25 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.005481/0.6542, allocations: 2.366 MB / 0.7254 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.6542, allocations: 12.03 kB / 0.7254 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6555, allocations: 310.4 kB / 0.7257 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.6584, allocations: 1.344 MB / 0.727 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.6586, allocations: 117.4 kB / 0.7271 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.6587, allocations: 84 kB / 0.7272 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.6609, allocations: 1.145 MB / 0.7283 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.661, allocations: 7.938 kB / 0.7283 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.6611, allocations: 40 kB / 0.7284 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.6612, allocations: 30 kB / 0.7284 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.6627, allocations: 0.8311 MB / 0.7292 GB, free: 6.805 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.009415/0.6721, allocations: 4.815 MB / 0.7339 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.6728, allocations: 297.2 kB / 0.7342 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.6731, allocations: 129.5 kB / 0.7343 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.6732, allocations: 12.59 kB / 0.7343 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.6732, allocations: 42.55 kB / 0.7344 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.6732, allocations: 4 kB / 0.7344 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.003659/0.6769, allocations: 1.624 MB / 0.736 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.677, allocations: 85.09 kB / 0.736 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/0.6829, allocations: 3.414 MB / 0.7394 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.683, allocations: 37.7 kB / 0.7394 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.6841, allocations: 0.9799 MB / 0.7404 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.6843, allocations: 150.7 kB / 0.7405 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.6845, allocations: 134.2 kB / 0.7406 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6847, allocations: 330 kB / 0.741 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.6851, allocations: 205.2 kB / 0.7412 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.6857, allocations: 398 kB / 0.7415 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.6866, allocations: 0.5795 MB / 0.7421 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6866, allocations: 0 / 0.7421 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00167/0.6883, allocations: 0.8575 MB / 0.7429 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6883, allocations: 7.938 kB / 0.7429 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6883, allocations: 8 kB / 0.7429 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.6884, allocations: 8 kB / 0.743 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.6895, allocations: 224.3 kB / 0.7432 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/0.6904, allocations: 1.209 MB / 0.7444 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.6913, allocations: 31.98 kB / 0.7444 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.6914, allocations: 36.17 kB / 0.7444 GB, free: 6.699 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.0009073/0.6923, allocations: 0.5833 MB / 0.745 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/0.6927, allocations: 226.5 kB / 0.7452 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.6937, allocations: 0.5301 MB / 0.7457 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6938, allocations: 7.938 kB / 0.7457 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6938, allocations: 4 kB / 0.7457 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6938, allocations: 0 / 0.7457 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.6969, allocations: 1.782 MB / 0.7475 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6969, allocations: 0 / 0.7475 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.6977, allocations: 135.8 kB / 0.7476 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6977, allocations: 0 / 0.7476 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.6977, allocations: 8 kB / 0.7476 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008644/0.6986, allocations: 1.212 MB / 0.7488 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6986, allocations: 0 / 0.7488 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.6999, allocations: 0.7648 MB / 0.7495 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009906/0.7009, allocations: 350.4 kB / 0.7499 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.7012, allocations: 8 kB / 0.7499 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/0.702, allocations: 31.97 kB / 0.7499 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.7021, allocations: 31.89 kB / 0.7499 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.7021, allocations: 31.72 kB / 0.75 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003849/0.706, allocations: 2.431 MB / 0.7523 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.706, allocations: 3.938 kB / 0.7523 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001229/0.7072, allocations: 331.8 kB / 0.7527 GB, free: 14.09 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.002035/0.7092, allocations: 0.5486 MB / 0.7532 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.7104, allocations: 441.9 kB / 0.7536 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.7104, allocations: 6.062 kB / 0.7536 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.7108, allocations: 160.4 kB / 0.7538 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.7137, allocations: 0.5892 MB / 0.7544 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.7208, allocations: 3.826 MB / 0.7581 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.7224, allocations: 1.464 MB / 0.7595 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.7228, allocations: 111.4 kB / 0.7596 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.7228, allocations: 0 / 0.7596 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.3057/1.029, allocations: 38.25 MB / 0.797 GB, free: 192.4 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: 13.419225357007235] Failed to read output from testmodel.py, exit status != 0: 1.0387580459937453 1.048541961 0.397434846 Calling exit ...