Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.002541/0.002541, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003091/0.003091, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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 1.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.1485/0.1485, allocations: 19.74 MB / 280.8 MB, free: 9.332 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_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 357.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.55e-05, allocations: 6.25 kB / 357.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3557/0.3557, allocations: 162.6 MB / 0.5076 GB, free: 12.34 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007058/0.3628, allocations: 3.8 MB / 0.5113 GB, free: 8.523 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.3633, allocations: 15.88 kB / 0.5113 GB, free: 8.508 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.3643, allocations: 266.2 kB / 0.5116 GB, free: 8.246 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.3657, allocations: 0.6607 MB / 0.5122 GB, free: 7.582 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.3703, allocations: 1.615 MB / 0.5138 GB, free: 5.961 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.3725, allocations: 1.375 MB / 0.5151 GB, free: 4.582 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.3731, allocations: 406 kB / 0.5155 GB, free: 4.184 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.3746, allocations: 0.7169 MB / 0.5162 GB, free: 3.465 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007807/0.3753, allocations: 0.5026 MB / 0.5167 GB, free: 2.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3755, allocations: 60 kB / 0.5168 GB, free: 2.902 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.3772, allocations: 0.6662 MB / 0.5174 GB, free: 2.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005286/0.3777, allocations: 494.7 kB / 0.5179 GB, free: 1.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.3782, allocations: 363 kB / 0.5183 GB, free: 1.395 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.3806, allocations: 1.62 MB / 0.5198 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3806, allocations: 0 / 0.5198 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3806, allocations: 0 / 0.5198 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3806, allocations: 4 kB / 0.5198 GB, free: 15.77 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.002801/0.3834, allocations: 1.662 MB / 0.5215 GB, free: 14.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3834, allocations: 8.031 kB / 0.5215 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/0.3844, allocations: 286.6 kB / 0.5217 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3858, allocations: 0.669 MB / 0.5224 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.3858, allocations: 41.31 kB / 0.5224 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3859, allocations: 63.98 kB / 0.5225 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3876, allocations: 0.9622 MB / 0.5234 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3876, allocations: 3.953 kB / 0.5234 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.3877, allocations: 24 kB / 0.5235 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3877, allocations: 15.94 kB / 0.5235 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.3884, allocations: 333 kB / 0.5238 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/0.3931, allocations: 2.154 MB / 0.5259 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.3934, allocations: 175.1 kB / 0.5261 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3936, allocations: 71.61 kB / 0.5261 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.3938, allocations: 23.97 kB / 0.5262 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.3938, allocations: 52.19 kB / 0.5262 GB, free: 8.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.3938, allocations: 4 kB / 0.5262 GB, free: 8.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007504/0.3946, allocations: 327.8 kB / 0.5265 GB, free: 8.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3946, allocations: 59.36 kB / 0.5266 GB, free: 8.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.3966, allocations: 1.385 MB / 0.5279 GB, free: 7.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.3967, allocations: 33.7 kB / 0.528 GB, free: 7.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/0.3974, allocations: 0.7106 MB / 0.5287 GB, free: 6.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.3975, allocations: 83.39 kB / 0.5287 GB, free: 6.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3977, allocations: 91.67 kB / 0.5288 GB, free: 6.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002848/0.398, allocations: 0.5043 MB / 0.5293 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.3982, allocations: 117.5 kB / 0.5294 GB, free: 5.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.3988, allocations: 263.9 kB / 0.5297 GB, free: 5.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.3993, allocations: 347.3 kB / 0.53 GB, free: 4.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3993, allocations: 0 / 0.53 GB, free: 4.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008513/0.4002, allocations: 464.8 kB / 0.5305 GB, free: 4.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4002, allocations: 8.031 kB / 0.5305 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4002, allocations: 4 kB / 0.5305 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.4002, allocations: 8 kB / 0.5305 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.4008, allocations: 119.8 kB / 0.5306 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.4026, allocations: 2.705 MB / 0.5332 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.4031, allocations: 55.61 kB / 0.5333 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.4031, allocations: 20.19 kB / 0.5333 GB, free: 1.414 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.0003974/0.4035, allocations: 224.4 kB / 0.5335 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.4037, allocations: 123.2 kB / 0.5336 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.4043, allocations: 276.3 kB / 0.5339 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4043, allocations: 0 / 0.5339 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4043, allocations: 3.562 kB / 0.5339 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4043, allocations: 3.984 kB / 0.5339 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4055, allocations: 0.7815 MB / 0.5347 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4055, allocations: 4 kB / 0.5347 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.4059, allocations: 63.95 kB / 0.5347 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4059, allocations: 4 kB / 0.5347 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4059, allocations: 4 kB / 0.5347 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.408, allocations: 2.703 MB / 0.5374 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.408, allocations: 0 / 0.5374 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.4087, allocations: 0.5155 MB / 0.5379 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.4091, allocations: 131.3 kB / 0.538 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.4092, allocations: 0 / 0.538 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4096, allocations: 19.98 kB / 0.538 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4096, allocations: 15.97 kB / 0.538 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.4097, allocations: 23.97 kB / 0.5381 GB, free: 12.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.4109, allocations: 0.8064 MB / 0.5389 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4109, allocations: 0 / 0.5389 GB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008883/0.4118, allocations: 263.3 kB / 0.5391 GB, free: 11.32 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.002986/0.4148, allocations: 0.5411 MB / 0.5396 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.4156, allocations: 272.3 kB / 0.5399 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.4156, allocations: 4 kB / 0.5399 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.4159, allocations: 111.5 kB / 0.54 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4171, allocations: 236.6 kB / 0.5402 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.4203, allocations: 1.697 MB / 0.5419 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.421, allocations: 496.1 kB / 0.5424 GB, free: 8.066 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004951/0.4215, allocations: 134.7 kB / 0.5425 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.4216, allocations: 68.48 kB / 0.5426 GB, free: 7.863 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4216, allocations: 0 / 0.5426 GB, free: 7.863 MB / 426.7 MB Notification: Performance of Templates: time 0.02889/0.4505, allocations: 13.63 MB / 0.5559 GB, free: 10.35 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.71193106402643]