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.001956/0.001956, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.001991/0.001991, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 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 1.315/1.315, allocations: 158.6 MB / 186.1 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.3145/0.3145, allocations: 36.33 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.575e-05, allocations: 9.688 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4193/0.4194, allocations: 163.6 MB / 0.5046 GB, free: 7.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.4267, allocations: 3.961 MB / 0.5085 GB, free: 3.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.4273, allocations: 11.88 kB / 0.5085 GB, free: 3.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4283, allocations: 262.2 kB / 0.5087 GB, free: 3.465 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.001517/0.4298, allocations: 0.5985 MB / 0.5093 GB, free: 2.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.4347, allocations: 1.67 MB / 0.5109 GB, free: 1.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.437, allocations: 1.352 MB / 0.5123 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.4377, allocations: 378.1 kB / 0.5126 GB, free: 15.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.439, allocations: 0.7052 MB / 0.5133 GB, free: 14.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.4398, allocations: 0.4909 MB / 0.5138 GB, free: 14.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.4399, allocations: 60 kB / 0.5138 GB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.4418, allocations: 0.6388 MB / 0.5145 GB, free: 13.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.4424, allocations: 482.8 kB / 0.5149 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.4429, allocations: 359 kB / 0.5153 GB, free: 12.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.4455, allocations: 1.577 MB / 0.5168 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4455, allocations: 0 / 0.5168 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4455, allocations: 0 / 0.5168 GB, free: 11.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.4456, allocations: 0 / 0.5168 GB, free: 11.16 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.002982/0.4485, allocations: 1.627 MB / 0.5184 GB, free: 9.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4486, allocations: 12.03 kB / 0.5184 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.4496, allocations: 270.6 kB / 0.5187 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.4509, allocations: 0.6607 MB / 0.5193 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.451, allocations: 49.23 kB / 0.5194 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4511, allocations: 56 kB / 0.5194 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4525, allocations: 0.9583 MB / 0.5203 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4525, allocations: 0 / 0.5203 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.4526, allocations: 24 kB / 0.5204 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.4526, allocations: 15.98 kB / 0.5204 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.4533, allocations: 325 kB / 0.5207 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004971/0.4582, allocations: 2.141 MB / 0.5228 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.4586, allocations: 175.1 kB / 0.523 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4588, allocations: 67.66 kB / 0.523 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.459, allocations: 31.97 kB / 0.523 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.459, allocations: 49.27 kB / 0.5231 GB, free: 4.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.459, allocations: 0 / 0.5231 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007929/0.4598, allocations: 317.2 kB / 0.5234 GB, free: 4.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4599, allocations: 63.41 kB / 0.5235 GB, free: 4.043 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.4619, allocations: 1.371 MB / 0.5248 GB, free: 2.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.4619, allocations: 29.7 kB / 0.5248 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.4626, allocations: 0.7026 MB / 0.5255 GB, free: 1.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.283e-05/0.4627, allocations: 83.31 kB / 0.5256 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.4629, allocations: 95.67 kB / 0.5257 GB, free: 1.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.4632, allocations: 0.4965 MB / 0.5262 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.4634, allocations: 121.5 kB / 0.5263 GB, free: 1.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.4638, allocations: 251.9 kB / 0.5265 GB, free: 0.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.4644, allocations: 358.8 kB / 0.5269 GB, free: 384 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4644, allocations: 2.938 kB / 0.5269 GB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009342/0.4653, allocations: 460.5 kB / 0.5273 GB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.4653, allocations: 8 kB / 0.5273 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4653, allocations: 448 / 0.5273 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.4654, allocations: 12 kB / 0.5273 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.466, allocations: 119.8 kB / 0.5274 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.468, allocations: 2.707 MB / 0.5301 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.4685, allocations: 55.61 kB / 0.5301 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4685, allocations: 19.98 kB / 0.5302 GB, free: 12.91 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.0005151/0.469, allocations: 220.6 kB / 0.5304 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.4693, allocations: 119.2 kB / 0.5305 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.4699, allocations: 279.9 kB / 0.5307 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4699, allocations: 0 / 0.5307 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4699, allocations: 0 / 0.5307 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4699, allocations: 3.984 kB / 0.5307 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.4711, allocations: 0.7835 MB / 0.5315 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4711, allocations: 0 / 0.5315 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.4715, allocations: 67.89 kB / 0.5316 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.4715, allocations: 4 kB / 0.5316 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4715, allocations: 8 kB / 0.5316 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.4734, allocations: 2.703 MB / 0.5342 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4734, allocations: 0 / 0.5342 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.4744, allocations: 0.5007 MB / 0.5347 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.4748, allocations: 127.3 kB / 0.5348 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4749, allocations: 8.219 kB / 0.5348 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.4753, allocations: 27.91 kB / 0.5349 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.4753, allocations: 7.984 kB / 0.5349 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.4754, allocations: 27.84 kB / 0.5349 GB, free: 7.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001331/0.4767, allocations: 0.7898 MB / 0.5357 GB, free: 7.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4767, allocations: 0 / 0.5357 GB, free: 7.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009092/0.4776, allocations: 255.3 kB / 0.5359 GB, free: 6.848 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.002967/0.4806, allocations: 0.5211 MB / 0.5364 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.4814, allocations: 272.7 kB / 0.5367 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.4814, allocations: 3.906 kB / 0.5367 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.4818, allocations: 119.5 kB / 0.5368 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4831, allocations: 233.5 kB / 0.537 GB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.486, allocations: 1.661 MB / 0.5387 GB, free: 4.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.4866, allocations: 494.6 kB / 0.5391 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004879/0.4871, allocations: 150.5 kB / 0.5393 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.4873, allocations: 64.5 kB / 0.5393 GB, free: 3.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.4873, allocations: 0 / 0.5393 GB, free: 3.301 MB / 410.7 MB Notification: Performance of Templates: time 0.02849/0.5158, allocations: 13.58 MB / 0.5526 GB, free: 5.695 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: 5.7163148450199515]