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.001094/0.001094, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001235/0.001235, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.8985/0.8985, allocations: 158.6 MB / 186.8 MB, free: 2.328 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.1626/0.1626, allocations: 36.35 MB / 275.5 MB, free: 10.52 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.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.463e-06/1.463e-06, allocations: 0 / 305.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.966e-05, allocations: 2.312 kB / 305.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1202/0.1202, allocations: 145.9 MB / 451.1 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.1243, allocations: 3.7 MB / 454.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.1246, allocations: 15.88 kB / 454.8 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.1251, allocations: 154.8 kB / 455 MB, free: 13.76 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.0008974/0.126, allocations: 0.5829 MB / 455.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.1287, allocations: 1.514 MB / 457.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.1301, allocations: 1.324 MB / 458.4 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.1306, allocations: 370 kB / 458.7 MB, free: 9.953 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.1316, allocations: 0.8693 MB / 459.6 MB, free: 9.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.132, allocations: 350.9 kB / 460 MB, free: 8.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.1321, allocations: 60 kB / 460 MB, free: 8.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008667/0.1329, allocations: 482.8 kB / 460.5 MB, free: 8.207 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.1332, allocations: 466.7 kB / 460.9 MB, free: 7.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1335, allocations: 343.1 kB / 461.3 MB, free: 7.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1347, allocations: 1.145 MB / 462.4 MB, free: 6.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1347, allocations: 0 / 462.4 MB, free: 6.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1347, allocations: 0 / 462.4 MB, free: 6.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.1347, allocations: 0 / 462.4 MB, free: 6.266 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001222/0.1359, allocations: 1.346 MB / 463.8 MB, free: 4.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1359, allocations: 12.02 kB / 463.8 MB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.1365, allocations: 220.3 kB / 464 MB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.1371, allocations: 0.5778 MB / 464.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1371, allocations: 37.69 kB / 464.6 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.1372, allocations: 76.06 kB / 464.7 MB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.1377, allocations: 0.8304 MB / 465.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1377, allocations: 0 / 465.5 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.1378, allocations: 24 kB / 465.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1378, allocations: 16 kB / 465.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.138, allocations: 159.9 kB / 465.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1398, allocations: 1.207 MB / 466.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.14, allocations: 144.1 kB / 467.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.14, allocations: 40.83 kB / 467.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.1401, allocations: 27.97 kB / 467.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1401, allocations: 42.38 kB / 467.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.1401, allocations: 0 / 467.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002911/0.1404, allocations: 170.3 kB / 467.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.1405, allocations: 59.34 kB / 467.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.1411, allocations: 0.9812 MB / 468.4 MB, free: 48 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1412, allocations: 33.7 kB / 468.4 MB, free: 8 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1608/0.3019, allocations: 394.3 kB / 468.8 MB, free: 20.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.302, allocations: 78.98 kB / 468.9 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3021, allocations: 81.19 kB / 468.9 MB, free: 20.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.3021, allocations: 324.4 kB / 469.3 MB, free: 20.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.3022, allocations: 57.86 kB / 469.3 MB, free: 20.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3023, allocations: 154.2 kB / 469.5 MB, free: 20.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3025, allocations: 243.2 kB / 469.7 MB, free: 20.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3025, allocations: 1.375 kB / 469.7 MB, free: 20.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004227/0.303, allocations: 272.4 kB / 470 MB, free: 20.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.303, allocations: 8.156 kB / 470 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.303, allocations: 3.375 kB / 470 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.303, allocations: 5.844 kB / 470 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.3035, allocations: 127.4 kB / 470.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/0.3039, allocations: 1.766 MB / 471.9 MB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3041, allocations: 37.77 kB / 471.9 MB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.3042, allocations: 18.69 kB / 471.9 MB, free: 18.48 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.0002616/0.3044, allocations: 141.9 kB / 472.1 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3045, allocations: 74.58 kB / 472.1 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3048, allocations: 202.3 kB / 472.3 MB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3048, allocations: 5.156 kB / 472.3 MB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.3048, allocations: 0 / 472.3 MB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3048, allocations: 1.922 kB / 472.4 MB, free: 18.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.3053, allocations: 336.5 kB / 472.7 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3053, allocations: 0 / 472.7 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3055, allocations: 84.05 kB / 472.8 MB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3055, allocations: 9.422 kB / 472.8 MB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3056, allocations: 6.953 kB / 472.8 MB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002995/0.3059, allocations: 1.757 MB / 474.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3059, allocations: 0.6562 kB / 474.5 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.3062, allocations: 341.5 kB / 474.9 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3063, allocations: 100.7 kB / 475 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.3064, allocations: 6.672 kB / 475 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3065, allocations: 16.47 kB / 475 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3066, allocations: 16.94 kB / 475 MB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3066, allocations: 17.56 kB / 475 MB, free: 16.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005232/0.3071, allocations: 0.5048 MB / 475.5 MB, free: 16.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3071, allocations: 0 / 475.5 MB, free: 16.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000625/0.3078, allocations: 232.3 kB / 475.8 MB, free: 16.16 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.001238/0.309, allocations: 0.5374 MB / 476.3 MB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.3094, allocations: 171.1 kB / 476.5 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.291e-05/0.3094, allocations: 15.64 kB / 476.5 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3096, allocations: 74.5 kB / 476.5 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.3102, allocations: 219.6 kB / 476.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3124, allocations: 1.626 MB / 478.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3127, allocations: 244.2 kB / 478.6 MB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.313, allocations: 116.8 kB / 478.7 MB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.3136, allocations: 264.6 kB / 479 MB, free: 14.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3136, allocations: 3.719 kB / 479 MB, free: 14.9 MB / 426.7 MB Notification: Performance of Templates: time 0.01604/0.3296, allocations: 12.74 MB / 491.7 MB, free: 13.6 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6003985912539065]