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.0009174/0.0009174, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009515/0.0009515, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.8057/0.8057, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.1665/0.1665, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.463e-06/1.463e-06, allocations: 0 / 355 MB, free: 62.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.693e-05, allocations: 3.469 kB / 355 MB, free: 62.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1149/0.1149, allocations: 143.7 MB / 498.7 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.1196, allocations: 3.626 MB / 0.4906 GB, free: 3.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.12, allocations: 11.94 kB / 0.4906 GB, free: 3.023 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.1206, allocations: 158.8 kB / 0.4908 GB, free: 2.867 MB / 410.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.0009413/0.1215, allocations: 0.5868 MB / 0.4913 GB, free: 2.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.1248, allocations: 1.538 MB / 0.4928 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.1261, allocations: 1.309 MB / 0.4941 GB, free: 15.42 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.1267, allocations: 375.2 kB / 0.4945 GB, free: 15.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1277, allocations: 0.9433 MB / 0.4954 GB, free: 14.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.1282, allocations: 366.9 kB / 0.4957 GB, free: 13.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.1283, allocations: 56 kB / 0.4958 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.1301, allocations: 1.075 MB / 0.4968 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.1305, allocations: 454.8 kB / 0.4973 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.1308, allocations: 347 kB / 0.4976 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.1326, allocations: 1.546 MB / 0.4991 GB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1326, allocations: 0 / 0.4991 GB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1326, allocations: 0 / 0.4991 GB, free: 10.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1327, allocations: 0 / 0.4991 GB, free: 10.29 MB / 426.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.001624/0.1343, allocations: 1.603 MB / 0.5007 GB, free: 8.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1343, allocations: 12.03 kB / 0.5007 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.1348, allocations: 259.6 kB / 0.5009 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1354, allocations: 0.6351 MB / 0.5016 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1355, allocations: 41.56 kB / 0.5016 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.1355, allocations: 64.12 kB / 0.5017 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.1361, allocations: 0.8211 MB / 0.5025 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1361, allocations: 3.984 kB / 0.5025 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.1361, allocations: 20 kB / 0.5025 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1362, allocations: 16 kB / 0.5025 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.1364, allocations: 173 kB / 0.5027 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.1384, allocations: 1.577 MB / 0.5042 GB, free: 4.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1386, allocations: 95.09 kB / 0.5043 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.1386, allocations: 19.69 kB / 0.5043 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.1388, allocations: 47.95 kB / 0.5044 GB, free: 4.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1388, allocations: 41.39 kB / 0.5044 GB, free: 4.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.1388, allocations: 0 / 0.5044 GB, free: 4.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003081/0.1391, allocations: 204.9 kB / 0.5046 GB, free: 4.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1391, allocations: 55.34 kB / 0.5046 GB, free: 4.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.1399, allocations: 1.121 MB / 0.5057 GB, free: 3.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1399, allocations: 29.64 kB / 0.5058 GB, free: 3.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.1403, allocations: 0.6904 MB / 0.5064 GB, free: 2.457 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1404, allocations: 51.56 kB / 0.5065 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.1405, allocations: 87.22 kB / 0.5066 GB, free: 2.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004483/0.1409, allocations: 0.4887 MB / 0.5071 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.141, allocations: 64.97 kB / 0.5071 GB, free: 1.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1411, allocations: 238.5 kB / 0.5073 GB, free: 1.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.1414, allocations: 297.8 kB / 0.5076 GB, free: 1.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1414, allocations: 7.984 kB / 0.5076 GB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003697/0.1418, allocations: 360.5 kB / 0.508 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1418, allocations: 8 kB / 0.508 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1418, allocations: 4 kB / 0.508 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1418, allocations: 11.94 kB / 0.508 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1421, allocations: 107.8 kB / 0.5081 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1622/0.3043, allocations: 1.792 MB / 0.5099 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.3047, allocations: 48.33 kB / 0.5099 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.3048, allocations: 20.98 kB / 0.5099 GB, free: 21.79 MB / 426.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.0003007/0.3051, allocations: 184.5 kB / 0.5101 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3052, allocations: 108.1 kB / 0.5102 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.3055, allocations: 186.9 kB / 0.5104 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3055, allocations: 0 / 0.5104 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3055, allocations: 3.781 kB / 0.5104 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3055, allocations: 0 / 0.5104 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.306, allocations: 426.5 kB / 0.5108 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.306, allocations: 0.5625 kB / 0.5108 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.3062, allocations: 50.06 kB / 0.5108 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3062, allocations: 0 / 0.5108 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3062, allocations: 5.312 kB / 0.5108 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003238/0.3066, allocations: 1.795 MB / 0.5126 GB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3066, allocations: 0 / 0.5126 GB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3068, allocations: 371.1 kB / 0.5129 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3069, allocations: 100.9 kB / 0.513 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.307, allocations: 7.297 kB / 0.513 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3073, allocations: 15.02 kB / 0.5131 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.3073, allocations: 11.3 kB / 0.5131 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3073, allocations: 21.59 kB / 0.5131 GB, free: 19.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004878/0.3078, allocations: 0.6352 MB / 0.5137 GB, free: 19.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3078, allocations: 0.7656 kB / 0.5137 GB, free: 19.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006512/0.3084, allocations: 229.7 kB / 0.5139 GB, free: 19.25 MB / 426.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.001155/0.3096, allocations: 492.9 kB / 0.5144 GB, free: 19.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3099, allocations: 157.5 kB / 0.5146 GB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3099, allocations: 1 kB / 0.5146 GB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.31, allocations: 61.77 kB / 0.5146 GB, free: 19.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.3108, allocations: 204.5 kB / 0.5148 GB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3128, allocations: 1.566 MB / 0.5163 GB, free: 18.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.313, allocations: 232.1 kB / 0.5166 GB, free: 18.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.3133, allocations: 123.1 kB / 0.5167 GB, free: 18.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.3138, allocations: 309.6 kB / 0.517 GB, free: 18.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3138, allocations: 0 / 0.517 GB, free: 18.12 MB / 426.7 MB Notification: Performance of Templates: time 0.017/0.3308, allocations: 12.85 MB / 0.5295 GB, free: 16.75 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.5829855678603053]