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.0007996/0.0007996, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004013/0.004013, allocations: 163.9 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08364/0.08364, allocations: 19.74 MB / 281.2 MB, free: 9.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.554e-05, allocations: 2.281 kB / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.1297/0.1297, allocations: 158.7 MB / 0.563 GB, free: 3.414 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1325, allocations: 2.118 MB / 0.565 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.1328, allocations: 15.88 kB / 0.5651 GB, free: 1.27 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.1335, allocations: 361.5 kB / 0.5654 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008954/0.1344, allocations: 0.894 MB / 0.5663 GB, free: 16 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1363, allocations: 1.134 MB / 0.5674 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1374, allocations: 1.932 MB / 0.5693 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.1379, allocations: 0.571 MB / 0.5698 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.1388, allocations: 1.091 MB / 0.5709 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.1394, allocations: 0.7677 MB / 0.5716 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.1395, allocations: 84 kB / 0.5717 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1406, allocations: 0.6426 MB / 0.5723 GB, free: 9.777 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.141, allocations: 0.8259 MB / 0.5731 GB, free: 8.949 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003676/0.1413, allocations: 0.6038 MB / 0.5737 GB, free: 8.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.1429, allocations: 2.473 MB / 0.5762 GB, free: 5.863 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1429, allocations: 0 / 0.5762 GB, free: 5.863 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1429, allocations: 0 / 0.5762 GB, free: 5.863 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1429, allocations: 0 / 0.5762 GB, free: 5.863 MB / 490.7 MB 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.002051/0.145, allocations: 2.37 MB / 0.5785 GB, free: 3.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.145, allocations: 12.03 kB / 0.5785 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.1455, allocations: 310.4 kB / 0.5788 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.147, allocations: 1.352 MB / 0.5801 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.1471, allocations: 121.4 kB / 0.5802 GB, free: 1.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.1471, allocations: 87.95 kB / 0.5803 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.1484, allocations: 1.844 MB / 0.5821 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1484, allocations: 4 kB / 0.5821 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.1485, allocations: 44 kB / 0.5821 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.1485, allocations: 34 kB / 0.5822 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.1493, allocations: 0.8158 MB / 0.583 GB, free: 14.54 MB / 0.4948 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.003944/0.1533, allocations: 4.044 MB / 0.5869 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.1537, allocations: 305.2 kB / 0.5872 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.1538, allocations: 134.5 kB / 0.5873 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1538, allocations: 8.594 kB / 0.5873 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1538, allocations: 42.56 kB / 0.5874 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 1.392e-06/0.1538, allocations: 0 / 0.5874 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.001524/0.1554, allocations: 1.616 MB / 0.589 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1554, allocations: 81.11 kB / 0.589 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.1575, allocations: 3.004 MB / 0.592 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1575, allocations: 41.83 kB / 0.592 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.1583, allocations: 0.9888 MB / 0.593 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.1584, allocations: 146.8 kB / 0.5931 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1585, allocations: 126.2 kB / 0.5932 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.1586, allocations: 334 kB / 0.5936 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1588, allocations: 205.2 kB / 0.5938 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1591, allocations: 398 kB / 0.5941 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.1596, allocations: 0.5688 MB / 0.5947 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1596, allocations: 7.938 kB / 0.5947 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007734/0.1604, allocations: 0.8284 MB / 0.5955 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1604, allocations: 15.09 kB / 0.5955 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1604, allocations: 7.938 kB / 0.5955 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1604, allocations: 12 kB / 0.5955 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.1609, allocations: 215.7 kB / 0.5957 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1564/0.3173, allocations: 1.201 MB / 0.5969 GB, free: 177.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/0.318, allocations: 38.56 kB / 0.597 GB, free: 177.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.3181, allocations: 31.61 kB / 0.597 GB, free: 177.5 MB / 0.4948 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.0007941/0.3189, allocations: 0.5878 MB / 0.5976 GB, free: 177.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3191, allocations: 195.7 kB / 0.5977 GB, free: 177.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006183/0.3197, allocations: 0.4976 MB / 0.5982 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3197, allocations: 4.844 kB / 0.5982 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3197, allocations: 3.031 kB / 0.5982 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3197, allocations: 5.875 kB / 0.5982 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3213, allocations: 1.562 MB / 0.5998 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3213, allocations: 0 / 0.5998 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.3217, allocations: 136.9 kB / 0.5999 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3217, allocations: 2.75 kB / 0.5999 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3217, allocations: 12.16 kB / 0.5999 GB, free: 177 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002272/0.322, allocations: 1.195 MB / 0.6011 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.322, allocations: 1.375 kB / 0.6011 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.3226, allocations: 0.7388 MB / 0.6018 GB, free: 175.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.3229, allocations: 299.1 kB / 0.6021 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.323, allocations: 12.27 kB / 0.6021 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.3234, allocations: 37.11 kB / 0.6021 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.3234, allocations: 34.88 kB / 0.6022 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3235, allocations: 24.62 kB / 0.6022 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001896/0.3254, allocations: 2.12 MB / 0.6043 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3254, allocations: 0 / 0.6043 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006952/0.326, allocations: 334.4 kB / 0.6046 GB, free: 174.7 MB / 0.4948 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.001007/0.3271, allocations: 0.585 MB / 0.6052 GB, free: 174.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.3277, allocations: 440.8 kB / 0.6056 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3277, allocations: 2.844 kB / 0.6056 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.3279, allocations: 160.7 kB / 0.6057 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.3288, allocations: 294.2 kB / 0.606 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.3323, allocations: 3.641 MB / 0.6096 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.3331, allocations: 0.8993 MB / 0.6104 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.3333, allocations: 94.19 kB / 0.6105 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.3333, allocations: 0 / 0.6105 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.02519/0.3585, allocations: 35.12 MB / 0.6448 GB, free: 145.5 MB / 0.4948 GB " [Timeout remaining time 660] 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: 7.131480912677944] Failed to read output from testmodel.py, exit status != 0: 0.36364507395774126 0.36899665299999995 0.22479218299999995 Calling exit ...