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.000888/0.000888, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009123/0.0009123, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.8297/0.8297, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.1691/0.1691, allocations: 36.34 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.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.182e-06/1.182e-06, allocations: 0 / 353.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.252e-05, allocations: 9.688 kB / 353.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2824/0.2824, allocations: 163.7 MB / 0.5053 GB, free: 7.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.2864, allocations: 3.964 MB / 0.5092 GB, free: 3.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2867, allocations: 7.938 kB / 0.5092 GB, free: 3.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.2874, allocations: 258.2 kB / 0.5095 GB, free: 3.48 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.0008515/0.2882, allocations: 0.5907 MB / 0.51 GB, free: 2.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.2909, allocations: 1.678 MB / 0.5117 GB, free: 1.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.2921, allocations: 1.337 MB / 0.513 GB, free: 15.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.2926, allocations: 374.1 kB / 0.5133 GB, free: 15.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.2933, allocations: 0.6974 MB / 0.514 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.294, allocations: 498.8 kB / 0.5145 GB, free: 14.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.091e-05/0.2941, allocations: 60 kB / 0.5146 GB, free: 14.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2958, allocations: 1.247 MB / 0.5158 GB, free: 13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.2962, allocations: 498.7 kB / 0.5163 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.2965, allocations: 347.1 kB / 0.5166 GB, free: 12.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.2983, allocations: 1.644 MB / 0.5182 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2983, allocations: 4 kB / 0.5182 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2983, allocations: 0 / 0.5182 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.2983, allocations: 0 / 0.5182 GB, free: 10.52 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.001625/0.2999, allocations: 1.611 MB / 0.5198 GB, free: 8.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3, allocations: 12.03 kB / 0.5198 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.3006, allocations: 276 kB / 0.52 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.3013, allocations: 0.6529 MB / 0.5207 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3013, allocations: 45.25 kB / 0.5207 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.3014, allocations: 60 kB / 0.5208 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.3022, allocations: 0.8528 MB / 0.5216 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3022, allocations: 0 / 0.5216 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.3023, allocations: 28 kB / 0.5216 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3023, allocations: 15.98 kB / 0.5217 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.3026, allocations: 223.6 kB / 0.5219 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.305, allocations: 1.825 MB / 0.5236 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3052, allocations: 95.06 kB / 0.5237 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3053, allocations: 31.67 kB / 0.5238 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.3054, allocations: 51.95 kB / 0.5238 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3054, allocations: 40.33 kB / 0.5239 GB, free: 4.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.195e-06/0.3054, allocations: 7.984 kB / 0.5239 GB, free: 4.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003401/0.3058, allocations: 212.9 kB / 0.5241 GB, free: 4.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.3058, allocations: 55.41 kB / 0.5241 GB, free: 4.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3068, allocations: 1.196 MB / 0.5253 GB, free: 2.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3069, allocations: 33.7 kB / 0.5253 GB, free: 2.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.3072, allocations: 0.6828 MB / 0.526 GB, free: 2.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3073, allocations: 55.53 kB / 0.526 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.3074, allocations: 83.3 kB / 0.5261 GB, free: 2.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3075, allocations: 0.4886 MB / 0.5266 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3076, allocations: 73 kB / 0.5267 GB, free: 1.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.3078, allocations: 246.6 kB / 0.5269 GB, free: 1.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.308, allocations: 305.1 kB / 0.5272 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.308, allocations: 4 kB / 0.5272 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004419/0.3085, allocations: 388.6 kB / 0.5276 GB, free: 396 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3085, allocations: 4 kB / 0.5276 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3085, allocations: 11.94 kB / 0.5276 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3085, allocations: 4 kB / 0.5276 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.3088, allocations: 107.9 kB / 0.5277 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007262/0.3095, allocations: 1.802 MB / 0.5294 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3098, allocations: 55.67 kB / 0.5295 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.3098, allocations: 23.98 kB / 0.5295 GB, free: 14.32 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.000199/0.31, allocations: 184.5 kB / 0.5297 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.3101, allocations: 107.3 kB / 0.5298 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.3104, allocations: 205.3 kB / 0.53 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3104, allocations: 0 / 0.53 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3104, allocations: 6.984 kB / 0.53 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3104, allocations: 0 / 0.53 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.3109, allocations: 0.5901 MB / 0.5306 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3109, allocations: 3.938 kB / 0.5306 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3111, allocations: 43.97 kB / 0.5306 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3111, allocations: 3.984 kB / 0.5306 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3111, allocations: 8 kB / 0.5306 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004944/0.3116, allocations: 1.79 MB / 0.5324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3116, allocations: 0 / 0.5324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.3119, allocations: 378.1 kB / 0.5327 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.312, allocations: 135.3 kB / 0.5329 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.3121, allocations: 3.938 kB / 0.5329 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3123, allocations: 15.98 kB / 0.5329 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.3123, allocations: 7.984 kB / 0.5329 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.3123, allocations: 19.97 kB / 0.5329 GB, free: 10.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006586/0.313, allocations: 0.724 MB / 0.5336 GB, free: 9.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.313, allocations: 0 / 0.5336 GB, free: 9.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.3135, allocations: 255.4 kB / 0.5339 GB, free: 9.742 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.001166/0.3147, allocations: 0.5372 MB / 0.5344 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3151, allocations: 167.3 kB / 0.5346 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3151, allocations: 4 kB / 0.5346 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.3152, allocations: 59.59 kB / 0.5346 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.3158, allocations: 213.2 kB / 0.5348 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3183, allocations: 1.594 MB / 0.5364 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3184, allocations: 238.2 kB / 0.5366 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.3187, allocations: 134.6 kB / 0.5367 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3188, allocations: 68.48 kB / 0.5368 GB, free: 6.695 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3188, allocations: 0 / 0.5368 GB, free: 6.695 MB / 410.7 MB Notification: Performance of Templates: time 0.01703/0.3358, allocations: 13.44 MB / 0.5499 GB, free: 9.23 MB / 426.7 MB " [Timeout remaining time 660] 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: 3.5052783200517297]