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.001361/0.001361, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001228/0.001228, allocations: 165 kB / 24.56 MB, free: 4 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 0.8965/0.8965, allocations: 158.6 MB / 186.4 MB, free: 2.875 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.1908/0.1908, allocations: 36.34 MB / 275.1 MB, free: 10.63 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 2.164e-06/2.164e-06, allocations: 0 / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.334e-05, allocations: 2.312 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3029/0.3029, allocations: 146.5 MB / 0.4885 GB, free: 4.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3065, allocations: 3.683 MB / 0.4921 GB, free: 2.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.3069, allocations: 10.12 kB / 0.4921 GB, free: 2.457 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.3074, allocations: 159.2 kB / 0.4923 GB, free: 2.336 MB / 362.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.0008068/0.3083, allocations: 0.5801 MB / 0.4929 GB, free: 1.922 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.311, allocations: 1.536 MB / 0.4944 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3122, allocations: 1.317 MB / 0.4956 GB, free: 80 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.3128, allocations: 375.2 kB / 0.496 GB, free: 15.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000774/0.3135, allocations: 0.661 MB / 0.4966 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.3141, allocations: 0.4957 MB / 0.4971 GB, free: 15.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.3142, allocations: 57.12 kB / 0.4972 GB, free: 15.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.316, allocations: 1.073 MB / 0.4982 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.3163, allocations: 486.5 kB / 0.4987 GB, free: 14.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.3167, allocations: 359.3 kB / 0.499 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.3188, allocations: 1.566 MB / 0.5006 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3188, allocations: 0 / 0.5006 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3188, allocations: 0 / 0.5006 GB, free: 12.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.3188, allocations: 0 / 0.5006 GB, free: 12.47 MB / 378.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.001934/0.3207, allocations: 1.6 MB / 0.5021 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3208, allocations: 8.031 kB / 0.5021 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/0.3214, allocations: 279.5 kB / 0.5024 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.3223, allocations: 0.6535 MB / 0.503 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3223, allocations: 41.69 kB / 0.5031 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3225, allocations: 60.33 kB / 0.5031 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3235, allocations: 0.8606 MB / 0.504 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3235, allocations: 0 / 0.504 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.3236, allocations: 24 kB / 0.504 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3236, allocations: 12 kB / 0.504 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.3239, allocations: 219.7 kB / 0.5042 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.3269, allocations: 1.825 MB / 0.506 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.3271, allocations: 95.06 kB / 0.5061 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.3272, allocations: 31.67 kB / 0.5061 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3274, allocations: 51.95 kB / 0.5062 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.3274, allocations: 45.39 kB / 0.5062 GB, free: 6.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/0.3274, allocations: 0 / 0.5062 GB, free: 6.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000423/0.3278, allocations: 208.9 kB / 0.5064 GB, free: 6.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3279, allocations: 67.33 kB / 0.5065 GB, free: 6.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3289, allocations: 1.192 MB / 0.5077 GB, free: 4.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3289, allocations: 29.7 kB / 0.5077 GB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.3293, allocations: 0.6867 MB / 0.5083 GB, free: 4.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.3294, allocations: 51.62 kB / 0.5084 GB, free: 4.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3295, allocations: 95.25 kB / 0.5085 GB, free: 4.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3296, allocations: 496.4 kB / 0.509 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3297, allocations: 65.02 kB / 0.509 GB, free: 3.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3299, allocations: 251.4 kB / 0.5093 GB, free: 3.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3302, allocations: 317.1 kB / 0.5096 GB, free: 2.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3302, allocations: 0 / 0.5096 GB, free: 2.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006038/0.3308, allocations: 384.8 kB / 0.5099 GB, free: 2.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3308, allocations: 12.09 kB / 0.5099 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3308, allocations: 7.938 kB / 0.51 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3308, allocations: 8 kB / 0.51 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3311, allocations: 107.1 kB / 0.5101 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006121/0.3317, allocations: 1.806 MB / 0.5118 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.332, allocations: 55.66 kB / 0.5119 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.332, allocations: 16 kB / 0.5119 GB, free: 296 kB / 378.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.0002042/0.3322, allocations: 191.5 kB / 0.5121 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3323, allocations: 111.3 kB / 0.5122 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.3326, allocations: 194.6 kB / 0.5124 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3326, allocations: 4 kB / 0.5124 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3326, allocations: 0 / 0.5124 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3326, allocations: 3.938 kB / 0.5124 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.3332, allocations: 0.5939 MB / 0.513 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3332, allocations: 0 / 0.513 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3333, allocations: 47.28 kB / 0.513 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3333, allocations: 8 kB / 0.513 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3334, allocations: 4 kB / 0.513 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005033/0.3339, allocations: 1.794 MB / 0.5148 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3339, allocations: 0 / 0.5148 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3342, allocations: 379.4 kB / 0.5151 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3343, allocations: 123.3 kB / 0.5152 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.3343, allocations: 7.984 kB / 0.5153 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3345, allocations: 20.14 kB / 0.5153 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.3345, allocations: 7.984 kB / 0.5153 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3346, allocations: 15.98 kB / 0.5153 GB, free: 12.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006363/0.3352, allocations: 0.7239 MB / 0.516 GB, free: 11.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3352, allocations: 0 / 0.516 GB, free: 11.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000598/0.3358, allocations: 243.4 kB / 0.5162 GB, free: 11.72 MB / 394.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.001119/0.3369, allocations: 491.2 kB / 0.5167 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3373, allocations: 172.3 kB / 0.5169 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3373, allocations: 0 / 0.5169 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.3373, allocations: 63.72 kB / 0.5169 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.3381, allocations: 216 kB / 0.5171 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3403, allocations: 1.583 MB / 0.5187 GB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3404, allocations: 238.2 kB / 0.5189 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.3407, allocations: 138.5 kB / 0.519 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3408, allocations: 68.48 kB / 0.5191 GB, free: 8.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.173e-06/0.3408, allocations: 4 kB / 0.5191 GB, free: 8.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01756/0.3584, allocations: 12.81 MB / 0.5316 GB, free: 11.9 MB / 410.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.8047448280267417]