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.0009048/0.0009048, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.0009095/0.0009095, allocations: 161.4 kB / 24.56 MB, free: 20 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.9052/0.9052, allocations: 177.1 MB / 205 MB, free: 5.609 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.08632/0.08632, allocations: 19.74 MB / 281.2 MB, free: 9.246 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.402e-06/1.402e-06, allocations: 0 / 357.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.589e-05, allocations: 2.312 kB / 357.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2555/0.2555, allocations: 148.1 MB / 0.4942 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.2591, allocations: 3.531 MB / 0.4977 GB, free: 7.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.2594, allocations: 11.88 kB / 0.4977 GB, free: 7.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.2599, allocations: 158.7 kB / 0.4978 GB, free: 6.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.2608, allocations: 0.6491 MB / 0.4985 GB, free: 6.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.2633, allocations: 1.487 MB / 0.4999 GB, free: 4.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2647, allocations: 1.356 MB / 0.5012 GB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.2652, allocations: 394 kB / 0.5016 GB, free: 3.098 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.266, allocations: 0.6859 MB / 0.5023 GB, free: 2.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.2665, allocations: 0.5026 MB / 0.5028 GB, free: 1.906 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.2666, allocations: 60 kB / 0.5028 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.2675, allocations: 0.5065 MB / 0.5033 GB, free: 1.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.2678, allocations: 0.4909 MB / 0.5038 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.2681, allocations: 351.1 kB / 0.5041 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2693, allocations: 1.195 MB / 0.5053 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2694, allocations: 0 / 0.5053 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2694, allocations: 0 / 0.5053 GB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.2694, allocations: 0 / 0.5053 GB, free: 15.3 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.001583/0.271, allocations: 1.577 MB / 0.5069 GB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.271, allocations: 8.031 kB / 0.5069 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/0.2716, allocations: 287.5 kB / 0.5071 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.2724, allocations: 0.6699 MB / 0.5078 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2724, allocations: 41.31 kB / 0.5078 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.2725, allocations: 67.88 kB / 0.5079 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.2734, allocations: 0.8606 MB / 0.5087 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2734, allocations: 0 / 0.5087 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.2734, allocations: 24 kB / 0.5088 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2735, allocations: 12 kB / 0.5088 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.2738, allocations: 231.7 kB / 0.509 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.2763, allocations: 1.822 MB / 0.5108 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2765, allocations: 119.1 kB / 0.5109 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.2765, allocations: 48.02 kB / 0.5109 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2767, allocations: 35.84 kB / 0.511 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2767, allocations: 41.39 kB / 0.511 GB, free: 9.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.2767, allocations: 0 / 0.511 GB, free: 9.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004323/0.2771, allocations: 275.5 kB / 0.5113 GB, free: 8.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.2772, allocations: 51.41 kB / 0.5113 GB, free: 8.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.2782, allocations: 1.201 MB / 0.5125 GB, free: 7.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.2782, allocations: 37.69 kB / 0.5125 GB, free: 7.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.2786, allocations: 0.6598 MB / 0.5132 GB, free: 6.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.2786, allocations: 79.44 kB / 0.5132 GB, free: 6.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.2787, allocations: 83.67 kB / 0.5133 GB, free: 6.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2788, allocations: 0.4925 MB / 0.5138 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.279, allocations: 77.45 kB / 0.5139 GB, free: 6.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2791, allocations: 203.9 kB / 0.5141 GB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2794, allocations: 291.2 kB / 0.5143 GB, free: 5.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2794, allocations: 3.938 kB / 0.5144 GB, free: 5.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004742/0.2799, allocations: 388.5 kB / 0.5147 GB, free: 5.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2799, allocations: 8 kB / 0.5147 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2799, allocations: 4 kB / 0.5147 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2799, allocations: 8.375 kB / 0.5147 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.2805, allocations: 127.8 kB / 0.5149 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.2813, allocations: 2.701 MB / 0.5175 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2816, allocations: 51.66 kB / 0.5176 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2816, allocations: 20 kB / 0.5176 GB, free: 2.191 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.0002096/0.2818, allocations: 184.6 kB / 0.5177 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2819, allocations: 123.2 kB / 0.5179 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.2823, allocations: 246.1 kB / 0.5181 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2823, allocations: 0 / 0.5181 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2823, allocations: 3.984 kB / 0.5181 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2823, allocations: 9.109 kB / 0.5181 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.2829, allocations: 0.6058 MB / 0.5187 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2829, allocations: 0 / 0.5187 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2831, allocations: 71.88 kB / 0.5188 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2831, allocations: 0 / 0.5188 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2831, allocations: 8 kB / 0.5188 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000734/0.2838, allocations: 2.695 MB / 0.5214 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2838, allocations: 3.938 kB / 0.5214 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.2842, allocations: 433.1 kB / 0.5218 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2844, allocations: 131.2 kB / 0.522 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.2844, allocations: 4 kB / 0.522 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2846, allocations: 24.14 kB / 0.522 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.2846, allocations: 15.97 kB / 0.522 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2847, allocations: 15.98 kB / 0.522 GB, free: 13.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008561/0.2855, allocations: 0.736 MB / 0.5227 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2855, allocations: 0 / 0.5227 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005121/0.286, allocations: 247.4 kB / 0.523 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.0009752/0.287, allocations: 463.1 kB / 0.5234 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.2874, allocations: 208.3 kB / 0.5236 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2874, allocations: 0 / 0.5236 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.2875, allocations: 83.58 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.0006089/0.2881, allocations: 235.4 kB / 0.5239 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.2902, allocations: 1.681 MB / 0.5256 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2903, allocations: 242.3 kB / 0.5258 GB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.2906, allocations: 138.6 kB / 0.5259 GB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2907, allocations: 72.48 kB / 0.526 GB, free: 9.477 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2907, allocations: 0 / 0.526 GB, free: 9.477 MB / 410.7 MB Notification: Performance of Templates: time 0.01874/0.3095, allocations: 13.08 MB / 0.5388 GB, free: 12.52 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.4518985371105373]