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.0008085/0.0008085, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.001975, 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.0007725/0.0007725, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001837, 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.9791/0.9791, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0866/1.066, allocations: 53.65 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.1087/0.1087, allocations: 19.74 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01372/0.1224, 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.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.442e-06/1.442e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.985e-05, allocations: 2.312 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2532/0.2532, allocations: 148 MB / 420.5 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.2572, allocations: 3.578 MB / 424.1 MB, free: 5.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.2577, allocations: 11.88 kB / 424.1 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2582, allocations: 154.8 kB / 424.3 MB, free: 5.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009101/0.2591, allocations: 0.6489 MB / 424.9 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.2618, allocations: 1.444 MB / 426.4 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.2634, allocations: 1.344 MB / 427.7 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.2639, allocations: 382.6 kB / 428.1 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.265, allocations: 0.9366 MB / 429 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.2654, allocations: 358.9 kB / 429.4 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.2655, allocations: 60 kB / 429.4 MB, free: 472 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1815/0.4469, allocations: 0.511 MB / 429.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.4475, allocations: 418.4 kB / 430.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.4482, allocations: 274.5 kB / 430.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.4501, allocations: 1.08 MB / 431.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.4501, allocations: 1.328 kB / 431.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4501, allocations: 0 / 431.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.251e-05/0.4501, allocations: 0.6875 kB / 431.7 MB, free: 5.684 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.002325/0.4525, allocations: 1.617 MB / 433.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4525, allocations: 9.656 kB / 433.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.4531, allocations: 301.9 kB / 433.6 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.4539, allocations: 0.5923 MB / 434.2 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.4539, allocations: 41.84 kB / 434.2 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.454, allocations: 62.77 kB / 434.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.4546, allocations: 0.8283 MB / 435.1 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4546, allocations: 0.8438 kB / 435.1 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.4546, allocations: 26.78 kB / 435.2 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4546, allocations: 13.62 kB / 435.2 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.4549, allocations: 160.2 kB / 435.3 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.4571, allocations: 1.203 MB / 436.5 MB, free: 19.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4573, allocations: 159.1 kB / 436.7 MB, free: 19.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.4573, allocations: 33.22 kB / 436.7 MB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.4574, allocations: 23.17 kB / 436.7 MB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4575, allocations: 41.94 kB / 436.8 MB, free: 19.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.215e-06/0.4575, allocations: 0.9688 kB / 436.8 MB, free: 19.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003259/0.4578, allocations: 175.4 kB / 437 MB, free: 19.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4578, allocations: 58.88 kB / 437 MB, free: 19.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.4587, allocations: 0.9994 MB / 438 MB, free: 19.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4588, allocations: 32.36 kB / 438 MB, free: 19.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.459, allocations: 407.4 kB / 438.4 MB, free: 18.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.459, allocations: 77.47 kB / 438.5 MB, free: 18.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.4591, allocations: 78.59 kB / 438.6 MB, free: 18.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.4592, allocations: 329 kB / 438.9 MB, free: 18.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.4592, allocations: 58.58 kB / 439 MB, free: 18.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.4593, allocations: 159 kB / 439.1 MB, free: 18.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4595, allocations: 232.5 kB / 439.4 MB, free: 18.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4595, allocations: 2.188 kB / 439.4 MB, free: 18.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003626/0.4599, allocations: 285.4 kB / 439.6 MB, free: 18.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4599, allocations: 10.67 kB / 439.6 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4599, allocations: 4.031 kB / 439.7 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4599, allocations: 7.156 kB / 439.7 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.4603, allocations: 139.5 kB / 439.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/0.4609, allocations: 1.758 MB / 441.6 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4611, allocations: 42.64 kB / 441.6 MB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4612, allocations: 24.31 kB / 441.6 MB, free: 16.29 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.0002341/0.4614, allocations: 133.7 kB / 441.8 MB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/0.4615, allocations: 76.47 kB / 441.8 MB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.4617, allocations: 211.5 kB / 442 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4617, allocations: 3.188 kB / 442 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4617, allocations: 1.094 kB / 442 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4617, allocations: 3.344 kB / 442 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.4622, allocations: 346.8 kB / 442.4 MB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.4622, allocations: 1.844 kB / 442.4 MB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.4625, allocations: 80.77 kB / 442.5 MB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.4626, allocations: 107.4 kB / 442.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4626, allocations: 0.5938 kB / 442.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4626, allocations: 9.672 kB / 442.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00051/0.4631, allocations: 1.748 MB / 444.3 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4631, allocations: 1.031 kB / 444.3 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4634, allocations: 343.2 kB / 444.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.4634, allocations: 8.906 kB / 444.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4636, allocations: 14.41 kB / 444.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.4636, allocations: 11.3 kB / 444.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.4637, allocations: 23.08 kB / 444.7 MB, free: 14.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004522/0.4641, allocations: 0.5177 MB / 445.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4641, allocations: 0 / 445.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006291/0.4647, allocations: 241.8 kB / 445.5 MB, free: 13.93 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.001312/0.466, allocations: 0.5855 MB / 446.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.4664, allocations: 193.7 kB / 446.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/0.4664, allocations: 18.5 kB / 446.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4665, allocations: 93.73 kB / 446.4 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.0005733/0.4671, allocations: 287.2 kB / 446.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00649/0.4736, allocations: 1.643 MB / 448.3 MB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4738, allocations: 247.7 kB / 448.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.4742, allocations: 115.5 kB / 448.6 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.4747, allocations: 263.5 kB / 448.9 MB, free: 12.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4747, allocations: 0 / 448.9 MB, free: 12.76 MB / 426.7 MB Notification: Performance of Templates: time 0.01646/0.4911, allocations: 13.14 MB / 462 MB, free: 11.53 MB / 426.7 MB " [Timeout remaining time 660] 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.4723784746602178]