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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 112.2 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.621/1.621, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3437/0.3437, allocations: 49.57 MB / 336.3 MB, free: 4.121 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 67.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1453, allocations: 62.41 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.5451/0.6904, allocations: 187 MB / 0.7092 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006323/0.6967, allocations: 1.952 MB / 0.7111 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.6976, allocations: 15.88 kB / 0.7111 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.6995, allocations: 389.5 kB / 0.7115 GB, free: 8.371 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.003209/0.7027, allocations: 0.805 MB / 0.7123 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.7082, allocations: 1.084 MB / 0.7134 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.7127, allocations: 1.914 MB / 0.7152 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.7144, allocations: 0.571 MB / 0.7158 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.7172, allocations: 0.8445 MB / 0.7166 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.7196, allocations: 0.8606 MB / 0.7174 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.72, allocations: 84 kB / 0.7175 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.7231, allocations: 0.7013 MB / 0.7182 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.7248, allocations: 0.8025 MB / 0.719 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.7283, allocations: 0.936 MB / 0.7199 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007666/0.736, allocations: 2.439 MB / 0.7223 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.736, allocations: 3.938 kB / 0.7223 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.073e-06/0.736, allocations: 0 / 0.7223 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.958e-05/0.7361, allocations: 0 / 0.7223 GB, free: 13.29 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.007705/0.7438, allocations: 2.374 MB / 0.7246 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.7438, allocations: 8.031 kB / 0.7246 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.7461, allocations: 318.3 kB / 0.7249 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/0.7509, allocations: 1.328 MB / 0.7262 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.7511, allocations: 95.69 kB / 0.7263 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.7514, allocations: 84 kB / 0.7264 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.7552, allocations: 1.14 MB / 0.7275 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.7552, allocations: 0 / 0.7275 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.7554, allocations: 48 kB / 0.7276 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.7555, allocations: 41.92 kB / 0.7276 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.7583, allocations: 0.8195 MB / 0.7284 GB, free: 6.875 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.01606/0.7743, allocations: 4.819 MB / 0.7331 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.7756, allocations: 293.3 kB / 0.7334 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.7761, allocations: 137.5 kB / 0.7335 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.7762, allocations: 8.594 kB / 0.7335 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.185e-05/0.7763, allocations: 50.5 kB / 0.7336 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 3.477e-06/0.7763, allocations: 0 / 0.7336 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00637/0.7827, allocations: 1.625 MB / 0.7352 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.7828, allocations: 88.98 kB / 0.7352 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/0.7928, allocations: 3.422 MB / 0.7386 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002338/0.7931, allocations: 33.7 kB / 0.7386 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.7948, allocations: 0.972 MB / 0.7396 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.7952, allocations: 154.7 kB / 0.7397 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/0.7956, allocations: 134.2 kB / 0.7398 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.7959, allocations: 334 kB / 0.7402 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.7964, allocations: 201.2 kB / 0.7403 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.797, allocations: 398 kB / 0.7407 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.7979, allocations: 0.5679 MB / 0.7413 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.7979, allocations: 0 / 0.7413 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00189/0.7998, allocations: 0.8603 MB / 0.7421 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7999, allocations: 12.53 kB / 0.7421 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7999, allocations: 8 kB / 0.7421 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.7999, allocations: 12 kB / 0.7422 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.801, allocations: 221.1 kB / 0.7424 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009203/0.8019, allocations: 1.211 MB / 0.7435 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.8029, allocations: 27.97 kB / 0.7436 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.803, allocations: 36 kB / 0.7436 GB, free: 6.762 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.001036/0.804, allocations: 0.5834 MB / 0.7442 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.8045, allocations: 226.5 kB / 0.7444 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.8057, allocations: 0.5261 MB / 0.7449 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.8057, allocations: 12.03 kB / 0.7449 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8057, allocations: 0 / 0.7449 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8057, allocations: 7.984 kB / 0.7449 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.8093, allocations: 1.778 MB / 0.7467 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8093, allocations: 0 / 0.7467 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.81, allocations: 135.6 kB / 0.7468 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.81, allocations: 0 / 0.7468 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.8101, allocations: 19.92 kB / 0.7468 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008303/0.8109, allocations: 1.189 MB / 0.748 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8109, allocations: 4.219 kB / 0.748 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.8124, allocations: 0.7763 MB / 0.7487 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/0.8133, allocations: 346.4 kB / 0.7491 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.8136, allocations: 8 kB / 0.7491 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.8145, allocations: 35.97 kB / 0.7491 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.8146, allocations: 31.94 kB / 0.7491 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.8147, allocations: 20.12 kB / 0.7492 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00418/0.8189, allocations: 2.431 MB / 0.7515 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8189, allocations: 0 / 0.7515 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001475/0.8203, allocations: 335.7 kB / 0.7518 GB, free: 14.16 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.002117/0.8225, allocations: 0.5573 MB / 0.7524 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.8237, allocations: 438.9 kB / 0.7528 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.8237, allocations: 4.938 kB / 0.7528 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.8241, allocations: 160.4 kB / 0.753 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.8271, allocations: 0.5892 MB / 0.7535 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.8341, allocations: 3.75 MB / 0.7572 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.8357, allocations: 1.464 MB / 0.7586 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001154/0.8369, allocations: 344.5 kB / 0.759 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.8373, allocations: 111.4 kB / 0.7591 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.8373, allocations: 0 / 0.7591 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.3121/1.149, allocations: 26.12 MB / 0.7846 GB, free: 201.7 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: 7.03124778624624] Failed to read output from testmodel.py, exit status != 0: 1.1594275226816535 1.17049583 0.43148349500000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2eb51b57b0>