Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.0006912/0.0006912, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009002/0.001591, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006908/0.0006908, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009056/0.001596, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9113/0.9113, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07785/0.9892, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.09068/0.09068, allocations: 19.75 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01171/0.1024, allocations: 7.564 MB / 271.3 MB, free: 3.477 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 272.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.214e-05, allocations: 2.312 kB / 272.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2478/0.2478, allocations: 148 MB / 420.5 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2511, allocations: 3.4 MB / 423.9 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.2514, allocations: 7.938 kB / 423.9 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.2517, allocations: 146.9 kB / 424.1 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.2524, allocations: 0.497 MB / 424.6 MB, free: 5.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.2545, allocations: 1.28 MB / 425.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.2557, allocations: 1.204 MB / 427.1 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.256, allocations: 327.5 kB / 427.4 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.2566, allocations: 0.7002 MB / 428.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.2569, allocations: 327 kB / 428.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.257, allocations: 59.94 kB / 428.5 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2582, allocations: 1.056 MB / 429.5 MB, free: 372 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.2584, allocations: 275.3 kB / 429.8 MB, free: 96 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1608/0.4192, allocations: 230.8 kB / 430 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.4214, allocations: 1.167 MB / 431.2 MB, free: 5.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.4214, allocations: 0 / 431.2 MB, free: 5.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4214, allocations: 1.094 kB / 431.2 MB, free: 5.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.4214, allocations: 2.219 kB / 431.2 MB, free: 5.617 MB / 410.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.001525/0.4229, allocations: 1.23 MB / 432.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.423, allocations: 10.81 kB / 432.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.4236, allocations: 278.1 kB / 432.7 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.4241, allocations: 388.5 kB / 433.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.4241, allocations: 37.19 kB / 433.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.585e-05/0.4242, allocations: 63.58 kB / 433.2 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.4249, allocations: 0.8274 MB / 434 MB, free: 20.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4249, allocations: 2.906 kB / 434 MB, free: 20.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.425, allocations: 24.59 kB / 434 MB, free: 20.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.425, allocations: 12.19 kB / 434 MB, free: 20.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.4253, allocations: 159.6 kB / 434.2 MB, free: 20.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.4275, allocations: 1.184 MB / 435.4 MB, free: 19.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.4276, allocations: 118 kB / 435.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.4276, allocations: 27.25 kB / 435.5 MB, free: 19.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.4278, allocations: 43.48 kB / 435.6 MB, free: 19.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4278, allocations: 41.78 kB / 435.6 MB, free: 19.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4278, allocations: 2.234 kB / 435.6 MB, free: 19.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002525/0.4281, allocations: 120.4 kB / 435.7 MB, free: 19.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4281, allocations: 55.66 kB / 435.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.4286, allocations: 0.521 MB / 436.3 MB, free: 19.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4286, allocations: 32.23 kB / 436.3 MB, free: 19.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4287, allocations: 350.9 kB / 436.7 MB, free: 19.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4288, allocations: 54.66 kB / 436.7 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4289, allocations: 87.09 kB / 436.8 MB, free: 19.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.429, allocations: 373.6 kB / 437.2 MB, free: 18.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.4291, allocations: 59.67 kB / 437.2 MB, free: 18.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4292, allocations: 182.6 kB / 437.4 MB, free: 18.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4294, allocations: 268.8 kB / 437.7 MB, free: 18.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4294, allocations: 2.312 kB / 437.7 MB, free: 18.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003403/0.4297, allocations: 271.2 kB / 438 MB, free: 18.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4298, allocations: 6.625 kB / 438 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-06/0.4298, allocations: 4.781 kB / 438 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4298, allocations: 8.031 kB / 438 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.4303, allocations: 140.8 kB / 438.1 MB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002449/0.4305, allocations: 0.6006 MB / 438.7 MB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4308, allocations: 45.45 kB / 438.8 MB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4308, allocations: 18.91 kB / 438.8 MB, free: 17.64 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.431, allocations: 146.2 kB / 438.9 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.431, allocations: 43.41 kB / 439 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.4312, allocations: 144.3 kB / 439.1 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4312, allocations: 2.5 kB / 439.1 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4312, allocations: 0.9375 kB / 439.1 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4312, allocations: 0 / 439.1 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.4319, allocations: 0.5801 MB / 439.7 MB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4319, allocations: 2.375 kB / 439.7 MB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.4321, allocations: 59.55 kB / 439.7 MB, free: 17.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.4322, allocations: 51.3 kB / 439.8 MB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4322, allocations: 3.516 kB / 439.8 MB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4322, allocations: 4.75 kB / 439.8 MB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002116/0.4324, allocations: 0.593 MB / 440.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4324, allocations: 2.531 kB / 440.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.4326, allocations: 295.2 kB / 440.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.4327, allocations: 5.688 kB / 440.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.4329, allocations: 15.86 kB / 440.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.4329, allocations: 17.38 kB / 440.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4329, allocations: 15.97 kB / 440.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.4332, allocations: 246.9 kB / 441 MB, free: 16.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4332, allocations: 0.7812 kB / 441 MB, free: 16.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.4337, allocations: 221.9 kB / 441.2 MB, free: 16.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.4352, allocations: 0.614 MB / 441.8 MB, free: 16.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.4355, allocations: 155.4 kB / 442 MB, free: 16.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/0.4355, allocations: 11.78 kB / 442 MB, free: 16.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.4356, allocations: 57.31 kB / 442 MB, free: 16.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.4361, allocations: 206.2 kB / 442.2 MB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.4419, allocations: 1.056 MB / 443.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.442, allocations: 156.5 kB / 443.4 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4422, allocations: 79.75 kB / 443.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.4426, allocations: 214 kB / 443.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4426, allocations: 0.7812 kB / 443.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of Templates: time 0.01118/0.4538, allocations: 10.94 MB / 454.7 MB, free: 14.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3528825575485826]