Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.0009512/0.0009512, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009372/0.0009372, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.847/0.847, allocations: 158.6 MB / 186.8 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1706/0.1706, allocations: 36.34 MB / 275.4 MB, free: 10.54 MB / 266.7 MB " [Timeout remaining time 180] 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 2.719 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.366e-05, allocations: 3.188 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1423/0.1423, allocations: 145.9 MB / 451.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.1475, allocations: 3.689 MB / 454.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1478, allocations: 15.88 kB / 454.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.1482, allocations: 154.8 kB / 455 MB, free: 13.82 MB / 426.7 MB [/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.0007021/0.1489, allocations: 0.5868 MB / 455.5 MB, free: 13.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.1512, allocations: 1.506 MB / 457 MB, free: 11.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1523, allocations: 1.312 MB / 458.4 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.1527, allocations: 370 kB / 458.7 MB, free: 10.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.1534, allocations: 0.8576 MB / 459.6 MB, free: 9.172 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.1537, allocations: 350.9 kB / 459.9 MB, free: 8.828 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.1537, allocations: 56 kB / 460 MB, free: 8.773 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.1551, allocations: 1.103 MB / 461.1 MB, free: 7.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.1553, allocations: 466.7 kB / 461.5 MB, free: 7.211 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1555, allocations: 335.1 kB / 461.9 MB, free: 6.883 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1568, allocations: 1.55 MB / 463.4 MB, free: 5.328 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1568, allocations: 0 / 463.4 MB, free: 5.328 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1568, allocations: 7.984 kB / 463.4 MB, free: 5.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1568, allocations: 0 / 463.4 MB, free: 5.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001134/0.158, allocations: 1.392 MB / 464.8 MB, free: 3.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.531e-05/0.158, allocations: 15.97 kB / 464.8 MB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.1585, allocations: 220.3 kB / 465 MB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.159, allocations: 0.5856 MB / 465.6 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.159, allocations: 41.69 kB / 465.7 MB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.1591, allocations: 56.12 kB / 465.7 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.1596, allocations: 0.8188 MB / 466.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1596, allocations: 7.938 kB / 466.5 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.1596, allocations: 28 kB / 466.6 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1596, allocations: 12 kB / 466.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1598, allocations: 155.9 kB / 466.7 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1614, allocations: 1.237 MB / 468 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1615, allocations: 123.9 kB / 468.1 MB, free: 416 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.1616, allocations: 24.84 kB / 468.1 MB, free: 388 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.1617, allocations: 43.97 kB / 468.2 MB, free: 344 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1617, allocations: 38.5 kB / 468.2 MB, free: 296 kB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1617, allocations: 0 / 468.2 MB, free: 296 kB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001863/0.1619, allocations: 135 kB / 468.3 MB, free: 156 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.1619, allocations: 59.39 kB / 468.4 MB, free: 84 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1595/0.3214, allocations: 0.9971 MB / 469.4 MB, free: 21.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.3214, allocations: 32.14 kB / 469.4 MB, free: 21.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3216, allocations: 422.5 kB / 469.8 MB, free: 20.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.3217, allocations: 51.86 kB / 469.9 MB, free: 20.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.3218, allocations: 76.27 kB / 470 MB, free: 20.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.3218, allocations: 323.5 kB / 470.3 MB, free: 20.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.3219, allocations: 53.53 kB / 470.3 MB, free: 20.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.322, allocations: 181.3 kB / 470.5 MB, free: 20.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3222, allocations: 260.5 kB / 470.8 MB, free: 20.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3222, allocations: 1.219 kB / 470.8 MB, free: 20.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003558/0.3226, allocations: 289.3 kB / 471 MB, free: 20.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3226, allocations: 12.19 kB / 471.1 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3226, allocations: 4.688 kB / 471.1 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3226, allocations: 7.875 kB / 471.1 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.323, allocations: 116.7 kB / 471.2 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002675/0.3233, allocations: 1.181 MB / 472.4 MB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3235, allocations: 44.66 kB / 472.4 MB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3236, allocations: 17.03 kB / 472.4 MB, free: 18.96 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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.0002101/0.3238, allocations: 139.3 kB / 472.6 MB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.3239, allocations: 63.67 kB / 472.6 MB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.3241, allocations: 173.7 kB / 472.8 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3241, allocations: 5.453 kB / 472.8 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3241, allocations: 1.484 kB / 472.8 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3241, allocations: 0.6562 kB / 472.8 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.3246, allocations: 329.2 kB / 473.1 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3246, allocations: 1.562 kB / 473.1 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.3248, allocations: 58.08 kB / 473.2 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3248, allocations: 3.375 kB / 473.2 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3248, allocations: 4.125 kB / 473.2 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002105/0.325, allocations: 1.168 MB / 474.3 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.325, allocations: 0 / 474.3 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.3252, allocations: 305.4 kB / 474.6 MB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.3253, allocations: 95.31 kB / 474.7 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3254, allocations: 5.375 kB / 474.7 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3256, allocations: 11.52 kB / 474.8 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3256, allocations: 13.25 kB / 474.8 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3256, allocations: 14.39 kB / 474.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005481/0.3262, allocations: 0.5191 MB / 475.3 MB, free: 17.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 1.062 kB / 475.3 MB, free: 17.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005465/0.3267, allocations: 230.7 kB / 475.5 MB, free: 17.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.00127/0.328, allocations: 0.5818 MB / 476.1 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.3283, allocations: 143 kB / 476.3 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.749e-05/0.3283, allocations: 14.75 kB / 476.3 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3284, allocations: 47 kB / 476.3 MB, free: 16.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3289, allocations: 192.2 kB / 476.5 MB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.331, allocations: 1.597 MB / 478.1 MB, free: 16.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.3312, allocations: 236 kB / 478.3 MB, free: 16.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.3315, allocations: 115.3 kB / 478.4 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.332, allocations: 249.4 kB / 478.7 MB, free: 16.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.332, allocations: 0 / 478.7 MB, free: 16.01 MB / 426.7 MB Notification: Performance of Templates: time 0.01566/0.3476, allocations: 12.72 MB / 491.4 MB, free: 14.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.448939686175436]