Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.0008526/0.0008526, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002165, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007376/0.0007376, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009779/0.001716, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9747/0.9747, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1044/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1077/0.1077, allocations: 19.78 MB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0145/0.1222, allocations: 7.565 MB / 271.5 MB, free: 3.359 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.748e-05, allocations: 6.109 kB / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2756/0.2756, allocations: 148 MB / 420.8 MB, free: 9.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2798, allocations: 3.569 MB / 424.3 MB, free: 5.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.2803, allocations: 15.81 kB / 424.4 MB, free: 5.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.2807, allocations: 158.8 kB / 424.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.2818, allocations: 0.6567 MB / 425.2 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.2856, allocations: 1.442 MB / 426.6 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2871, allocations: 1.352 MB / 428 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.2877, allocations: 367.7 kB / 428.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.2889, allocations: 0.9469 MB / 429.3 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.2894, allocations: 354.9 kB / 429.6 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.2895, allocations: 56 kB / 429.7 MB, free: 268 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1862/0.4756, allocations: 0.508 MB / 430.2 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.4763, allocations: 419.5 kB / 430.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.477, allocations: 276.2 kB / 430.9 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.479, allocations: 1.08 MB / 431.9 MB, free: 5.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.479, allocations: 1.062 kB / 431.9 MB, free: 5.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.479, allocations: 0.7812 kB / 431.9 MB, free: 5.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.385e-05/0.479, allocations: 0 / 431.9 MB, free: 5.699 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002785/0.4818, allocations: 1.617 MB / 433.6 MB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.4819, allocations: 8.938 kB / 433.6 MB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007781/0.4826, allocations: 305.5 kB / 433.9 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.4835, allocations: 0.5946 MB / 434.5 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.4836, allocations: 39.38 kB / 434.5 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.4837, allocations: 57.97 kB / 434.6 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.4843, allocations: 0.8355 MB / 435.4 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4844, allocations: 1 kB / 435.4 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.4844, allocations: 24.67 kB / 435.4 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4844, allocations: 13.3 kB / 435.4 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.4848, allocations: 165.4 kB / 435.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.4883, allocations: 1.202 MB / 436.8 MB, free: 19.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4885, allocations: 150.5 kB / 436.9 MB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.4886, allocations: 33.69 kB / 437 MB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4887, allocations: 24.11 kB / 437 MB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.4887, allocations: 43.3 kB / 437 MB, free: 19.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.4887, allocations: 0.9375 kB / 437 MB, free: 19.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004925/0.4892, allocations: 175.7 kB / 437.2 MB, free: 19.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.4893, allocations: 57.34 kB / 437.3 MB, free: 19.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.4909, allocations: 1 MB / 438.3 MB, free: 19.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.491, allocations: 32.45 kB / 438.3 MB, free: 19.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.4913, allocations: 404.7 kB / 438.7 MB, free: 18.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.4914, allocations: 78.83 kB / 438.8 MB, free: 18.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.4915, allocations: 79.73 kB / 438.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002896/0.4918, allocations: 327 kB / 439.2 MB, free: 18.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.4919, allocations: 58.62 kB / 439.2 MB, free: 18.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.4921, allocations: 162 kB / 439.4 MB, free: 18.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.4924, allocations: 256.4 kB / 439.6 MB, free: 18.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4924, allocations: 2 kB / 439.6 MB, free: 18.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006304/0.493, allocations: 286.5 kB / 439.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4931, allocations: 5.75 kB / 439.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4931, allocations: 4.469 kB / 439.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4931, allocations: 5.969 kB / 439.9 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.4936, allocations: 135.6 kB / 440.1 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007556/0.4944, allocations: 1.768 MB / 441.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.4948, allocations: 41.98 kB / 441.9 MB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.4948, allocations: 19.91 kB / 441.9 MB, free: 16.3 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.4953, allocations: 139.1 kB / 442 MB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4955, allocations: 72.8 kB / 442.1 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.4959, allocations: 205 kB / 442.3 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4959, allocations: 2.406 kB / 442.3 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4959, allocations: 2.062 kB / 442.3 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4959, allocations: 0 / 442.3 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.4966, allocations: 353.9 kB / 442.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4966, allocations: 0.9688 kB / 442.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4969, allocations: 89.02 kB / 442.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4971, allocations: 99.06 kB / 442.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4971, allocations: 1.719 kB / 442.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4971, allocations: 5.188 kB / 442.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/0.4979, allocations: 1.753 MB / 444.6 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4979, allocations: 2.188 kB / 444.6 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.4983, allocations: 340.9 kB / 444.9 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.4983, allocations: 5.969 kB / 444.9 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4985, allocations: 17.28 kB / 445 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.4986, allocations: 14.83 kB / 445 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.4986, allocations: 20.45 kB / 445 MB, free: 14.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006887/0.4993, allocations: 0.523 MB / 445.5 MB, free: 13.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4993, allocations: 2.234 kB / 445.5 MB, free: 13.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001149/0.5004, allocations: 242.6 kB / 445.7 MB, free: 13.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/0.502, allocations: 0.5966 MB / 446.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.5024, allocations: 189.7 kB / 446.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-05/0.5025, allocations: 18.84 kB / 446.5 MB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.5028, allocations: 167.2 kB / 446.7 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.5039, allocations: 1.062 MB / 447.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.5106, allocations: 1.64 MB / 449.4 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.5108, allocations: 247.9 kB / 449.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004632/0.5112, allocations: 120.5 kB / 449.8 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.5117, allocations: 262.1 kB / 450 MB, free: 11.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5117, allocations: 0 / 450 MB, free: 11.89 MB / 426.7 MB Notification: Performance of Templates: time 0.01753/0.5292, allocations: 13.1 MB / 463.1 MB, free: 10.67 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3655401710420847]