Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001884/0.001884, 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.002019/0.002019, allocations: 165.3 kB / 24.28 MB, free: 156 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.307/1.307, allocations: 158.6 MB / 186.1 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.2706/0.2706, allocations: 36.34 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 353 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.861e-05, allocations: 5.688 kB / 353 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3986/0.3987, allocations: 163.6 MB / 0.5046 GB, free: 7.824 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.4058, allocations: 3.964 MB / 0.5084 GB, free: 3.852 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.4063, allocations: 7.938 kB / 0.5084 GB, free: 3.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4073, allocations: 258.2 kB / 0.5087 GB, free: 3.59 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.001371/0.4087, allocations: 0.5985 MB / 0.5093 GB, free: 2.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.4136, allocations: 1.682 MB / 0.5109 GB, free: 1.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.4159, allocations: 1.333 MB / 0.5122 GB, free: 15.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.4166, allocations: 374.1 kB / 0.5126 GB, free: 15.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.4178, allocations: 0.6935 MB / 0.5133 GB, free: 14.9 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009103/0.4187, allocations: 0.4909 MB / 0.5137 GB, free: 14.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.4188, allocations: 56 kB / 0.5138 GB, free: 14.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.4224, allocations: 1.254 MB / 0.515 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007269/0.4232, allocations: 494.7 kB / 0.5155 GB, free: 12.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.4237, allocations: 343.1 kB / 0.5158 GB, free: 12.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.4274, allocations: 1.983 MB / 0.5178 GB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4274, allocations: 4 kB / 0.5178 GB, free: 10.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4274, allocations: 0 / 0.5178 GB, free: 10.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4274, allocations: 0 / 0.5178 GB, free: 10.28 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003079/0.4305, allocations: 1.681 MB / 0.5194 GB, free: 8.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4305, allocations: 12.02 kB / 0.5194 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/0.4315, allocations: 274.6 kB / 0.5197 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.4329, allocations: 0.6607 MB / 0.5203 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.4329, allocations: 41.31 kB / 0.5204 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4331, allocations: 52 kB / 0.5204 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.4346, allocations: 0.9543 MB / 0.5213 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.4346, allocations: 4 kB / 0.5213 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.4347, allocations: 24 kB / 0.5214 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.4347, allocations: 12 kB / 0.5214 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.4353, allocations: 325 kB / 0.5217 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.4404, allocations: 2.167 MB / 0.5238 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.4407, allocations: 135 kB / 0.5239 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.4408, allocations: 47.67 kB / 0.524 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.4411, allocations: 43.97 kB / 0.524 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.4411, allocations: 41.39 kB / 0.5241 GB, free: 3.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/0.4411, allocations: 0 / 0.5241 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006967/0.4418, allocations: 268.9 kB / 0.5243 GB, free: 3.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4419, allocations: 55.41 kB / 0.5244 GB, free: 3.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.4439, allocations: 1.392 MB / 0.5257 GB, free: 1.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.4439, allocations: 29.7 kB / 0.5258 GB, free: 1.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/0.4448, allocations: 0.7297 MB / 0.5265 GB, free: 1.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.4448, allocations: 59.52 kB / 0.5265 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.445, allocations: 91.31 kB / 0.5266 GB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.4453, allocations: 0.5042 MB / 0.5271 GB, free: 372 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4455, allocations: 105 kB / 0.5272 GB, free: 264 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.4459, allocations: 291.1 kB / 0.5275 GB, free: 15.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.4465, allocations: 373.1 kB / 0.5278 GB, free: 15.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.4465, allocations: 0 / 0.5278 GB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001133/0.4476, allocations: 444.6 kB / 0.5283 GB, free: 14.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.4476, allocations: 11.98 kB / 0.5283 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4476, allocations: 7.312 kB / 0.5283 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.4477, allocations: 8 kB / 0.5283 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.4483, allocations: 103.9 kB / 0.5284 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4496, allocations: 1.818 MB / 0.5302 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.45, allocations: 55.69 kB / 0.5302 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.4501, allocations: 20 kB / 0.5302 GB, free: 12.91 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.4505, allocations: 216.4 kB / 0.5304 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4507, allocations: 107.3 kB / 0.5305 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.4511, allocations: 227.9 kB / 0.5308 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4511, allocations: 0 / 0.5308 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4511, allocations: 0 / 0.5308 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4511, allocations: 0 / 0.5308 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4523, allocations: 0.7423 MB / 0.5315 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4523, allocations: 3.938 kB / 0.5315 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.4526, allocations: 46.91 kB / 0.5315 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4526, allocations: 0 / 0.5315 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4526, allocations: 8 kB / 0.5315 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.4538, allocations: 1.802 MB / 0.5333 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4538, allocations: 0 / 0.5333 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.4545, allocations: 433.2 kB / 0.5337 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.4549, allocations: 131.3 kB / 0.5338 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.455, allocations: 11.92 kB / 0.5338 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.4553, allocations: 19.92 kB / 0.5339 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4554, allocations: 7.984 kB / 0.5339 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.4554, allocations: 15.98 kB / 0.5339 GB, free: 9.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00132/0.4567, allocations: 0.806 MB / 0.5347 GB, free: 8.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4567, allocations: 0 / 0.5347 GB, free: 8.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001056/0.4578, allocations: 255.4 kB / 0.5349 GB, free: 7.988 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003367/0.4612, allocations: 0.5674 MB / 0.5355 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.462, allocations: 232.2 kB / 0.5357 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.462, allocations: 0 / 0.5357 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.4622, allocations: 91.77 kB / 0.5358 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4635, allocations: 205 kB / 0.536 GB, free: 6.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.4665, allocations: 1.602 MB / 0.5375 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.4672, allocations: 490.5 kB / 0.538 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.4677, allocations: 130.6 kB / 0.5381 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4678, allocations: 68.42 kB / 0.5382 GB, free: 4.574 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4678, allocations: 0 / 0.5382 GB, free: 4.574 MB / 410.7 MB Notification: Performance of Templates: time 0.02866/0.4965, allocations: 13.38 MB / 0.5513 GB, free: 7.168 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.76297284301836]