Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001276/0.001276, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001415/0.001415, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8918/0.8918, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09637/0.09637, allocations: 19.74 MB / 281.2 MB, free: 9.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.947e-05, allocations: 5.266 kB / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2656/0.2656, allocations: 148.1 MB / 0.4942 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.2693, allocations: 3.539 MB / 0.4977 GB, free: 7.121 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.2696, allocations: 7.938 kB / 0.4977 GB, free: 7.113 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.2701, allocations: 166.7 kB / 0.4979 GB, free: 6.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008496/0.2709, allocations: 0.6374 MB / 0.4985 GB, free: 6.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.2733, allocations: 1.483 MB / 0.4999 GB, free: 4.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2744, allocations: 1.359 MB / 0.5013 GB, free: 3.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.2749, allocations: 390 kB / 0.5016 GB, free: 3.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.2759, allocations: 0.9707 MB / 0.5026 GB, free: 2.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.2763, allocations: 370.9 kB / 0.5029 GB, free: 1.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.2764, allocations: 64 kB / 0.503 GB, free: 1.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.2772, allocations: 0.4987 MB / 0.5035 GB, free: 1.176 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.2777, allocations: 474.7 kB / 0.5039 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2779, allocations: 339 kB / 0.5043 GB, free: 388 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.279, allocations: 1.184 MB / 0.5054 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2791, allocations: 0 / 0.5054 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2791, allocations: 0 / 0.5054 GB, free: 15.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.2791, allocations: 0 / 0.5054 GB, free: 15.19 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001425/0.2805, allocations: 1.573 MB / 0.5069 GB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2805, allocations: 8.031 kB / 0.507 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.2811, allocations: 283.5 kB / 0.5072 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.2818, allocations: 0.6789 MB / 0.5079 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.2818, allocations: 37.31 kB / 0.5079 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.2819, allocations: 59.94 kB / 0.508 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.2826, allocations: 0.8607 MB / 0.5088 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2826, allocations: 0 / 0.5088 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.2826, allocations: 24 kB / 0.5088 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2826, allocations: 16 kB / 0.5089 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.2829, allocations: 227.6 kB / 0.5091 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.2853, allocations: 1.795 MB / 0.5108 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.2855, allocations: 131 kB / 0.5109 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.2856, allocations: 51.02 kB / 0.511 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2857, allocations: 31.92 kB / 0.511 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2857, allocations: 48.95 kB / 0.5111 GB, free: 9.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.505e-06/0.2857, allocations: 3.984 kB / 0.5111 GB, free: 9.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.000376/0.2861, allocations: 264.8 kB / 0.5113 GB, free: 8.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.2861, allocations: 59.41 kB / 0.5114 GB, free: 8.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/0.2869, allocations: 1.162 MB / 0.5125 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.287, allocations: 33.7 kB / 0.5126 GB, free: 7.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.2873, allocations: 0.6677 MB / 0.5132 GB, free: 6.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2873, allocations: 79.38 kB / 0.5133 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.2874, allocations: 79.69 kB / 0.5134 GB, free: 6.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2875, allocations: 0.4925 MB / 0.5138 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2876, allocations: 73.52 kB / 0.5139 GB, free: 6.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2878, allocations: 211.9 kB / 0.5141 GB, free: 5.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.288, allocations: 287.2 kB / 0.5144 GB, free: 5.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.288, allocations: 4 kB / 0.5144 GB, free: 5.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004105/0.2884, allocations: 388.5 kB / 0.5148 GB, free: 5.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2884, allocations: 8 kB / 0.5148 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2884, allocations: 4.438 kB / 0.5148 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2885, allocations: 11.94 kB / 0.5148 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.2888, allocations: 115.9 kB / 0.5149 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.2896, allocations: 2.699 MB / 0.5175 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.2898, allocations: 51.64 kB / 0.5176 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.2898, allocations: 22.42 kB / 0.5176 GB, free: 2.141 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004457/0.2903, allocations: 184.6 kB / 0.5178 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2904, allocations: 123.2 kB / 0.5179 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.2907, allocations: 245.2 kB / 0.5181 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2907, allocations: 4.875 kB / 0.5181 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2907, allocations: 3.938 kB / 0.5181 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2907, allocations: 0 / 0.5181 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.2912, allocations: 0.6097 MB / 0.5187 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2912, allocations: 0 / 0.5187 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.2914, allocations: 71.64 kB / 0.5188 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2914, allocations: 8 kB / 0.5188 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2914, allocations: 3.984 kB / 0.5188 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/0.2921, allocations: 2.695 MB / 0.5214 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2921, allocations: 3.938 kB / 0.5214 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.2925, allocations: 432.5 kB / 0.5219 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2926, allocations: 115.2 kB / 0.522 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.2926, allocations: 12.22 kB / 0.522 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2928, allocations: 19.92 kB / 0.522 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2928, allocations: 11.97 kB / 0.522 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.2929, allocations: 19.98 kB / 0.522 GB, free: 13.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005475/0.2934, allocations: 0.697 MB / 0.5227 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 0.5227 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005369/0.2939, allocations: 247.4 kB / 0.5229 GB, free: 12.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.295, allocations: 464.3 kB / 0.5234 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.2954, allocations: 192.3 kB / 0.5236 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.2954, allocations: 4 kB / 0.5236 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2956, allocations: 87.56 kB / 0.5237 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.2962, allocations: 221.6 kB / 0.5239 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.2988, allocations: 1.665 MB / 0.5255 GB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2989, allocations: 237.8 kB / 0.5257 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.2992, allocations: 121.4 kB / 0.5258 GB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.2993, allocations: 56.5 kB / 0.5259 GB, free: 9.551 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2993, allocations: 4 kB / 0.5259 GB, free: 9.547 MB / 410.7 MB Notification: Performance of Templates: time 0.01586/0.3151, allocations: 12.71 MB / 0.5383 GB, free: 12.94 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4247244368307292]