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.0009447/0.0009447, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.0009019/0.0009019, allocations: 167.9 kB / 24.99 MB, free: 8.789 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.8472/0.8472, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.1679/0.1679, allocations: 36.33 MB / 275.4 MB, free: 10.72 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.112e-06/1.112e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.371e-05, allocations: 6.312 kB / 353.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3039/0.3039, allocations: 163.7 MB / 0.5054 GB, free: 7.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.3077, allocations: 3.955 MB / 0.5092 GB, free: 3.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.308, allocations: 15.88 kB / 0.5092 GB, free: 3.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.3086, allocations: 258.2 kB / 0.5095 GB, free: 3.449 MB / 378.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.0007678/0.3094, allocations: 0.5985 MB / 0.5101 GB, free: 2.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.3123, allocations: 1.674 MB / 0.5117 GB, free: 1.168 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000914/0.3132, allocations: 1.356 MB / 0.513 GB, free: 15.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.3136, allocations: 378 kB / 0.5134 GB, free: 15.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.3141, allocations: 0.6974 MB / 0.5141 GB, free: 14.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.3146, allocations: 0.4987 MB / 0.5145 GB, free: 14.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.3146, allocations: 56 kB / 0.5146 GB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.3154, allocations: 0.6349 MB / 0.5152 GB, free: 13.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.3157, allocations: 498.7 kB / 0.5157 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.3159, allocations: 347.1 kB / 0.516 GB, free: 12.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3171, allocations: 1.238 MB / 0.5172 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3171, allocations: 0 / 0.5172 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3171, allocations: 0 / 0.5172 GB, free: 11.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3171, allocations: 3.938 kB / 0.5172 GB, free: 11.47 MB / 394.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.001348/0.3184, allocations: 1.553 MB / 0.5188 GB, free: 9.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3185, allocations: 8.031 kB / 0.5188 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/0.319, allocations: 276 kB / 0.519 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.3196, allocations: 0.6607 MB / 0.5197 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3197, allocations: 37.31 kB / 0.5197 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.3197, allocations: 60 kB / 0.5198 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.3204, allocations: 0.8606 MB / 0.5206 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3204, allocations: 3.984 kB / 0.5206 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.3204, allocations: 28 kB / 0.5206 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3204, allocations: 12 kB / 0.5207 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.3207, allocations: 231.6 kB / 0.5209 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.323, allocations: 1.817 MB / 0.5226 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3231, allocations: 123.1 kB / 0.5228 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.3232, allocations: 47.67 kB / 0.5228 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.3233, allocations: 31.95 kB / 0.5228 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3234, allocations: 49.27 kB / 0.5229 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.3234, allocations: 0 / 0.5229 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003821/0.3237, allocations: 265.7 kB / 0.5231 GB, free: 5.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3238, allocations: 55.41 kB / 0.5232 GB, free: 5.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3248, allocations: 1.175 MB / 0.5243 GB, free: 3.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3249, allocations: 33.7 kB / 0.5244 GB, free: 3.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.3252, allocations: 0.6557 MB / 0.525 GB, free: 3.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3253, allocations: 83.39 kB / 0.5251 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.3254, allocations: 79.67 kB / 0.5252 GB, free: 3.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3255, allocations: 0.4887 MB / 0.5256 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3256, allocations: 77.5 kB / 0.5257 GB, free: 2.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3257, allocations: 218.8 kB / 0.5259 GB, free: 2.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.326, allocations: 278.8 kB / 0.5262 GB, free: 1.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.326, allocations: 0 / 0.5262 GB, free: 1.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004162/0.3264, allocations: 396.5 kB / 0.5266 GB, free: 1.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3264, allocations: 8 kB / 0.5266 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3264, allocations: 4 kB / 0.5266 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3264, allocations: 4 kB / 0.5266 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.3268, allocations: 124.2 kB / 0.5267 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007682/0.3275, allocations: 2.695 MB / 0.5293 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3277, allocations: 47.66 kB / 0.5294 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3277, allocations: 27.98 kB / 0.5294 GB, free: 14.44 MB / 410.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.0001996/0.3279, allocations: 180.6 kB / 0.5296 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3281, allocations: 123.2 kB / 0.5297 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.3284, allocations: 234.2 kB / 0.5299 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3284, allocations: 4 kB / 0.5299 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3284, allocations: 6.938 kB / 0.5299 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3284, allocations: 3.984 kB / 0.5299 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.3289, allocations: 0.6091 MB / 0.5305 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3289, allocations: 0 / 0.5305 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3291, allocations: 67.89 kB / 0.5306 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3291, allocations: 0 / 0.5306 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3291, allocations: 8 kB / 0.5306 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007863/0.3299, allocations: 2.691 MB / 0.5332 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3299, allocations: 0 / 0.5332 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.3302, allocations: 436.8 kB / 0.5336 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3303, allocations: 123.3 kB / 0.5338 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3304, allocations: 4 kB / 0.5338 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3306, allocations: 28.23 kB / 0.5338 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.3306, allocations: 11.97 kB / 0.5338 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.3306, allocations: 23.97 kB / 0.5338 GB, free: 9.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006025/0.3312, allocations: 0.7156 MB / 0.5345 GB, free: 9.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 0.5345 GB, free: 9.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.3317, allocations: 259.3 kB / 0.5348 GB, free: 8.781 MB / 410.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.0009819/0.3327, allocations: 496.3 kB / 0.5353 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.3331, allocations: 200.3 kB / 0.5354 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3331, allocations: 3.938 kB / 0.5354 GB, free: 8.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3332, allocations: 92.44 kB / 0.5355 GB, free: 8.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.3338, allocations: 240 kB / 0.5358 GB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3357, allocations: 1.649 MB / 0.5374 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3359, allocations: 242.3 kB / 0.5376 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.3361, allocations: 130.6 kB / 0.5377 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3362, allocations: 68.5 kB / 0.5378 GB, free: 5.645 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3362, allocations: 3.938 kB / 0.5378 GB, free: 5.641 MB / 410.7 MB Notification: Performance of Templates: time 0.01879/0.355, allocations: 13.65 MB / 0.5511 GB, free: 7.965 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.4584048751275986]