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.001337/0.001337, allocations: 122.5 kB / 18.46 MB, free: 4.473 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.001377/0.001377, allocations: 190.6 kB / 21.4 MB, free: 1.535 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.59/1.59, allocations: 207.6 MB / 231.8 MB, free: 4.016 MB / 174.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.4851/0.4851, allocations: 49.51 MB / 333.2 MB, free: 0.7891 MB / 254.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.002142/0.002142, allocations: 73.39 kB / 471.9 MB, free: 40.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 62.34 MB / 0.5217 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.6456/0.7715, allocations: 186.8 MB / 0.7041 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.7758, allocations: 1.946 MB / 0.706 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.7767, allocations: 14.09 kB / 0.7061 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.7781, allocations: 394.1 kB / 0.7064 GB, free: 12.89 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.002146/0.7802, allocations: 0.8003 MB / 0.7072 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.7835, allocations: 1.071 MB / 0.7083 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.7867, allocations: 1.876 MB / 0.7101 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7878, allocations: 0.5846 MB / 0.7107 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7894, allocations: 0.8257 MB / 0.7115 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.7906, allocations: 0.8582 MB / 0.7123 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.7908, allocations: 85.5 kB / 0.7124 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.7927, allocations: 0.6972 MB / 0.7131 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.7934, allocations: 0.8087 MB / 0.7139 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009865/0.7944, allocations: 0.9361 MB / 0.7148 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.7978, allocations: 2.432 MB / 0.7171 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7978, allocations: 0 / 0.7171 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7978, allocations: 0 / 0.7171 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.7978, allocations: 0 / 0.7171 GB, free: 9.242 MB / 0.5137 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.004211/0.8021, allocations: 2.453 MB / 0.7195 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.8021, allocations: 13.86 kB / 0.7196 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.8031, allocations: 316.3 kB / 0.7199 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.8053, allocations: 1.397 MB / 0.7212 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8054, allocations: 91.05 kB / 0.7213 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.8055, allocations: 88.34 kB / 0.7214 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.8074, allocations: 1.14 MB / 0.7225 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.8075, allocations: 6 kB / 0.7225 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.8076, allocations: 38.81 kB / 0.7225 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.8076, allocations: 34.94 kB / 0.7226 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.809, allocations: 0.8226 MB / 0.7234 GB, free: 5.305 MB / 0.5137 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.008763/0.8178, allocations: 5.104 MB / 0.7284 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.8184, allocations: 305.9 kB / 0.7287 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.8187, allocations: 129.2 kB / 0.7288 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.8187, allocations: 9.125 kB / 0.7288 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.8188, allocations: 39.94 kB / 0.7288 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 3.056e-06/0.8188, allocations: 0 / 0.7288 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.003132/0.8219, allocations: 1.712 MB / 0.7305 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.822, allocations: 82.36 kB / 0.7306 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/0.8261, allocations: 3.415 MB / 0.7339 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.8262, allocations: 38.39 kB / 0.734 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009689/0.8272, allocations: 0.9738 MB / 0.7349 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.8273, allocations: 147.6 kB / 0.735 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.8276, allocations: 137.5 kB / 0.7352 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8277, allocations: 327.9 kB / 0.7355 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.8281, allocations: 207.5 kB / 0.7357 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.8287, allocations: 404.8 kB / 0.7361 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.8296, allocations: 0.5679 MB / 0.7366 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8296, allocations: 11.88 kB / 0.7366 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001621/0.8312, allocations: 0.8577 MB / 0.7375 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.8312, allocations: 11.75 kB / 0.7375 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8313, allocations: 4 kB / 0.7375 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.8313, allocations: 12 kB / 0.7375 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.8325, allocations: 211.8 kB / 0.7377 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.8334, allocations: 1.213 MB / 0.7389 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009637/0.8344, allocations: 31.98 kB / 0.7389 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.8345, allocations: 28 kB / 0.7389 GB, free: 9.262 MB / 0.5294 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.001319/0.8358, allocations: 0.5914 MB / 0.7395 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.8362, allocations: 226.5 kB / 0.7397 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.8374, allocations: 0.5261 MB / 0.7403 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.8374, allocations: 11.94 kB / 0.7403 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8374, allocations: 0 / 0.7403 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8374, allocations: 3.984 kB / 0.7403 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.8412, allocations: 1.805 MB / 0.742 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.8412, allocations: 7.938 kB / 0.742 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.842, allocations: 133 kB / 0.7422 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.842, allocations: 0 / 0.7422 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.842, allocations: 8 kB / 0.7422 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008895/0.8429, allocations: 1.203 MB / 0.7433 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8429, allocations: 3.938 kB / 0.7434 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.8443, allocations: 0.7731 MB / 0.7441 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.8453, allocations: 424.4 kB / 0.7445 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.8456, allocations: 8 kB / 0.7445 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.8466, allocations: 35.97 kB / 0.7446 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.8467, allocations: 23.97 kB / 0.7446 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.8468, allocations: 23.97 kB / 0.7446 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004447/0.8513, allocations: 2.427 MB / 0.747 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.8513, allocations: 11.94 kB / 0.747 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001567/0.8528, allocations: 331.7 kB / 0.7473 GB, free: 0.5312 MB / 0.5294 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.002256/0.8551, allocations: 0.5574 MB / 0.7478 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.8563, allocations: 438.4 kB / 0.7483 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.8563, allocations: 4.562 kB / 0.7483 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.8567, allocations: 155.6 kB / 0.7484 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.8602, allocations: 0.5988 MB / 0.749 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.8681, allocations: 3.811 MB / 0.7527 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.87, allocations: 1.464 MB / 0.7541 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.8706, allocations: 115.4 kB / 0.7543 GB, free: 9.332 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.8706, allocations: 0 / 0.7543 GB, free: 9.332 MB / 0.545 GB Notification: Performance of Templates: time 0.07113/0.9417, allocations: 38.26 MB / 0.7916 GB, free: 2.996 MB / 0.5762 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.800089678959921] Failed to read output from testmodel.py, exit status != 0: 0.9505592391360551 0.965518634 0.16454563900000002 Calling exit ...