Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001031/0.001031, allocations: 82.64 kB / 21.42 MB, free: 3.078 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.001149/0.001149, allocations: 169.6 kB / 24.82 MB, free: 8.328 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.8914/0.8914, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1725/0.1725, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 354.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.515e-05, allocations: 5.969 kB / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2512/0.2513, allocations: 143.7 MB / 498 MB, free: 6.258 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.255, allocations: 3.632 MB / 0.4898 GB, free: 4.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.2555, allocations: 9.906 kB / 0.4898 GB, free: 4.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.256, allocations: 153.5 kB / 0.49 GB, free: 4.059 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.0008914/0.2569, allocations: 0.5905 MB / 0.4906 GB, free: 3.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.2598, allocations: 1.541 MB / 0.4921 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.261, allocations: 1.324 MB / 0.4934 GB, free: 2.008 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.2616, allocations: 380 kB / 0.4937 GB, free: 1.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2628, allocations: 0.9543 MB / 0.4947 GB, free: 1.258 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.2633, allocations: 366.7 kB / 0.495 GB, free: 1.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2634, allocations: 58.03 kB / 0.4951 GB, free: 1.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009309/0.2643, allocations: 477.6 kB / 0.4955 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.2646, allocations: 468.6 kB / 0.496 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.2649, allocations: 337.9 kB / 0.4963 GB, free: 396 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2663, allocations: 1.143 MB / 0.4974 GB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2663, allocations: 3.938 kB / 0.4974 GB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2663, allocations: 0 / 0.4974 GB, free: 15.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.2663, allocations: 0 / 0.4974 GB, free: 15.24 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001842/0.2682, allocations: 1.541 MB / 0.4989 GB, free: 13.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2682, allocations: 12.03 kB / 0.4989 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.2689, allocations: 263.6 kB / 0.4992 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.2697, allocations: 0.6311 MB / 0.4998 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.2697, allocations: 41.69 kB / 0.4998 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.2698, allocations: 60.38 kB / 0.4999 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.2707, allocations: 0.8215 MB / 0.5007 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2707, allocations: 5.312 kB / 0.5007 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.2708, allocations: 24 kB / 0.5007 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2708, allocations: 12 kB / 0.5007 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.2711, allocations: 184.9 kB / 0.5009 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.2738, allocations: 1.551 MB / 0.5024 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.274, allocations: 131.1 kB / 0.5025 GB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.274, allocations: 39.67 kB / 0.5026 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.2742, allocations: 28.84 kB / 0.5026 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2742, allocations: 48.67 kB / 0.5027 GB, free: 9.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 2.705e-06/0.2742, allocations: 0 / 0.5027 GB, free: 9.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004577/0.2747, allocations: 253.3 kB / 0.5029 GB, free: 9.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2747, allocations: 55.34 kB / 0.5029 GB, free: 9.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.2757, allocations: 1.097 MB / 0.504 GB, free: 8.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.2758, allocations: 33.7 kB / 0.5041 GB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.2762, allocations: 0.6711 MB / 0.5047 GB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.2763, allocations: 79.36 kB / 0.5048 GB, free: 7.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2764, allocations: 83.64 kB / 0.5049 GB, free: 7.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2766, allocations: 0.4925 MB / 0.5053 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2767, allocations: 65.47 kB / 0.5054 GB, free: 6.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2768, allocations: 199.9 kB / 0.5056 GB, free: 6.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.2771, allocations: 266.7 kB / 0.5058 GB, free: 6.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2771, allocations: 0 / 0.5058 GB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005157/0.2776, allocations: 372.5 kB / 0.5062 GB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2776, allocations: 4 kB / 0.5062 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2776, allocations: 4 kB / 0.5062 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2777, allocations: 8 kB / 0.5062 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.2781, allocations: 111.9 kB / 0.5063 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.2792, allocations: 2.711 MB / 0.509 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2794, allocations: 39.67 kB / 0.509 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.2795, allocations: 23.92 kB / 0.509 GB, free: 2.762 MB / 378.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.0002515/0.2797, allocations: 176.5 kB / 0.5092 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2799, allocations: 123.2 kB / 0.5093 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.2802, allocations: 230.2 kB / 0.5095 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2802, allocations: 4 kB / 0.5095 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2802, allocations: 0 / 0.5095 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2802, allocations: 0 / 0.5095 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.2808, allocations: 442.4 kB / 0.51 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2808, allocations: 0 / 0.51 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.2811, allocations: 71.89 kB / 0.51 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.2811, allocations: 7.984 kB / 0.51 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2811, allocations: 0 / 0.51 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/0.2819, allocations: 2.69 MB / 0.5127 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2819, allocations: 3.984 kB / 0.5127 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2823, allocations: 404.9 kB / 0.5131 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2825, allocations: 103.2 kB / 0.5132 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.2825, allocations: 8 kB / 0.5132 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2828, allocations: 15.98 kB / 0.5132 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.2828, allocations: 12.14 kB / 0.5132 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.2828, allocations: 28.84 kB / 0.5132 GB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005671/0.2834, allocations: 0.6294 MB / 0.5138 GB, free: 13.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2834, allocations: 0 / 0.5138 GB, free: 13.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000639/0.284, allocations: 235.4 kB / 0.5141 GB, free: 13.46 MB / 394.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.001284/0.2853, allocations: 438.3 kB / 0.5145 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.2857, allocations: 188.6 kB / 0.5147 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2857, allocations: 0 / 0.5147 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2859, allocations: 87.5 kB / 0.5147 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.2867, allocations: 236.9 kB / 0.515 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.2891, allocations: 1.622 MB / 0.5165 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2893, allocations: 241.8 kB / 0.5168 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.2897, allocations: 109.4 kB / 0.5169 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.2903, allocations: 329.9 kB / 0.5172 GB, free: 10.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2903, allocations: 0 / 0.5172 GB, free: 10.2 MB / 394.7 MB Notification: Performance of Templates: time 0.01751/0.3078, allocations: 12.73 MB / 0.5296 GB, free: 13.44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.55570943467319]