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.000927/0.000927, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008879/0.0008879, allocations: 161 kB / 24.56 MB, free: 16 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.7795/0.7795, allocations: 158.6 MB / 186.4 MB, free: 2.906 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.1528/0.1528, allocations: 36.34 MB / 275.1 MB, free: 10.66 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.383e-06/1.383e-06, allocations: 0 / 353.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.442e-05, allocations: 2.312 kB / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2606/0.2606, allocations: 146.5 MB / 0.4885 GB, free: 4.543 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.264, allocations: 3.684 MB / 0.4921 GB, free: 2.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.2642, allocations: 9.625 kB / 0.4921 GB, free: 2.457 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.2647, allocations: 155 kB / 0.4923 GB, free: 2.34 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.0007521/0.2655, allocations: 0.5866 MB / 0.4929 GB, free: 1.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.268, allocations: 1.545 MB / 0.4944 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.2692, allocations: 1.306 MB / 0.4956 GB, free: 92 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.2697, allocations: 374.9 kB / 0.496 GB, free: 15.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.2707, allocations: 0.9449 MB / 0.4969 GB, free: 15.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.2713, allocations: 365.2 kB / 0.4973 GB, free: 15.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2714, allocations: 56.88 kB / 0.4973 GB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.2733, allocations: 1.081 MB / 0.4984 GB, free: 14.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005437/0.2738, allocations: 456 kB / 0.4988 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.2743, allocations: 335 kB / 0.4991 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.2762, allocations: 1.558 MB / 0.5007 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2763, allocations: 0 / 0.5007 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2763, allocations: 0 / 0.5007 GB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2763, allocations: 0 / 0.5007 GB, free: 12.38 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.001459/0.2777, allocations: 1.592 MB / 0.5022 GB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2778, allocations: 12.03 kB / 0.5022 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.2783, allocations: 283.5 kB / 0.5025 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.279, allocations: 0.6469 MB / 0.5031 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.279, allocations: 41.69 kB / 0.5032 GB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.2791, allocations: 56.33 kB / 0.5032 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.2798, allocations: 0.8606 MB / 0.5041 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2798, allocations: 0 / 0.5041 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.2798, allocations: 20 kB / 0.5041 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2799, allocations: 16 kB / 0.5041 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.2802, allocations: 223.6 kB / 0.5043 GB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.2825, allocations: 1.81 MB / 0.5061 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.2826, allocations: 91.06 kB / 0.5062 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.2827, allocations: 35.67 kB / 0.5062 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.2828, allocations: 47.95 kB / 0.5062 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2829, allocations: 41.39 kB / 0.5063 GB, free: 6.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.2829, allocations: 4 kB / 0.5063 GB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003198/0.2832, allocations: 213.8 kB / 0.5065 GB, free: 6.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.2832, allocations: 59.34 kB / 0.5065 GB, free: 6.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.2841, allocations: 1.161 MB / 0.5077 GB, free: 4.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2841, allocations: 33.7 kB / 0.5077 GB, free: 4.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.2845, allocations: 0.6828 MB / 0.5084 GB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.2845, allocations: 51.62 kB / 0.5084 GB, free: 4.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.2846, allocations: 87.27 kB / 0.5085 GB, free: 3.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2847, allocations: 0.4887 MB / 0.509 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2848, allocations: 65.02 kB / 0.509 GB, free: 3.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.285, allocations: 246.6 kB / 0.5093 GB, free: 3.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.2852, allocations: 317 kB / 0.5096 GB, free: 2.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2852, allocations: 2.938 kB / 0.5096 GB, free: 2.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000385/0.2856, allocations: 376.8 kB / 0.5099 GB, free: 2.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2856, allocations: 8 kB / 0.51 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2856, allocations: 7.938 kB / 0.51 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2857, allocations: 11.94 kB / 0.51 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2859, allocations: 107.9 kB / 0.5101 GB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005456/0.2865, allocations: 1.798 MB / 0.5118 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2867, allocations: 63.92 kB / 0.5119 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.2867, allocations: 20 kB / 0.5119 GB, free: 268 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.0001968/0.2869, allocations: 183.4 kB / 0.5121 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.287, allocations: 111.5 kB / 0.5122 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.2873, allocations: 199 kB / 0.5124 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2873, allocations: 4.094 kB / 0.5124 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2873, allocations: 3.984 kB / 0.5124 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2873, allocations: 3.75 kB / 0.5124 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.2878, allocations: 0.59 MB / 0.513 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2878, allocations: 11.86 kB / 0.513 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.288, allocations: 51.97 kB / 0.513 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.288, allocations: 0 / 0.513 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.288, allocations: 0 / 0.513 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.2884, allocations: 1.794 MB / 0.5148 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2884, allocations: 0 / 0.5148 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2887, allocations: 379.4 kB / 0.5151 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.2888, allocations: 111.5 kB / 0.5153 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.2888, allocations: 7.984 kB / 0.5153 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.289, allocations: 11.98 kB / 0.5153 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.289, allocations: 11.98 kB / 0.5153 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.289, allocations: 11.98 kB / 0.5153 GB, free: 12.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005355/0.2896, allocations: 0.6927 MB / 0.516 GB, free: 11.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2896, allocations: 0 / 0.516 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005004/0.2901, allocations: 239.4 kB / 0.5162 GB, free: 11.75 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.0009649/0.291, allocations: 483.2 kB / 0.5167 GB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.2914, allocations: 180.3 kB / 0.5168 GB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2914, allocations: 0 / 0.5168 GB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.2914, allocations: 71.58 kB / 0.5169 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.292, allocations: 200.3 kB / 0.5171 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.2938, allocations: 1.563 MB / 0.5186 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.2939, allocations: 233.7 kB / 0.5188 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000221/0.2941, allocations: 121.1 kB / 0.519 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.2942, allocations: 60.48 kB / 0.519 GB, free: 8.824 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2942, allocations: 0 / 0.519 GB, free: 8.824 MB / 394.7 MB Notification: Performance of Templates: time 0.0158/0.31, allocations: 12.67 MB / 0.5314 GB, free: 12.11 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.3284869249910116]