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.0009307/0.0009307, allocations: 79.59 kB / 21.18 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.000933/0.000933, allocations: 161 kB / 24.56 MB, free: 12 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.8215/0.8215, allocations: 158.6 MB / 186.4 MB, free: 2.914 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.2063/0.2063, allocations: 36.34 MB / 275.1 MB, free: 10.52 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.863e-06/1.863e-06, allocations: 0 / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.773e-05, allocations: 6.312 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3086/0.3086, allocations: 146.5 MB / 0.4886 GB, free: 4.535 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.3122, allocations: 3.677 MB / 0.4921 GB, free: 2.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.3125, allocations: 13.66 kB / 0.4922 GB, free: 2.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.3131, allocations: 145.5 kB / 0.4923 GB, free: 2.332 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.0008239/0.3139, allocations: 0.5903 MB / 0.4929 GB, free: 1.898 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.3165, allocations: 1.542 MB / 0.4944 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3176, allocations: 1.32 MB / 0.4957 GB, free: 52 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.3181, allocations: 382 kB / 0.496 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.3189, allocations: 0.6751 MB / 0.4967 GB, free: 15.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.3194, allocations: 0.496 MB / 0.4972 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.347e-05/0.3195, allocations: 57.66 kB / 0.4972 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008146/0.3203, allocations: 479.1 kB / 0.4977 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.3206, allocations: 485.2 kB / 0.4982 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.3208, allocations: 357.4 kB / 0.4985 GB, free: 14.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.322, allocations: 1.158 MB / 0.4996 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.322, allocations: 0 / 0.4996 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.322, allocations: 0 / 0.4996 GB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.322, allocations: 0 / 0.4996 GB, free: 13.45 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.00157/0.3236, allocations: 1.549 MB / 0.5011 GB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3236, allocations: 8.031 kB / 0.5011 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.3242, allocations: 275.5 kB / 0.5014 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.3249, allocations: 0.6573 MB / 0.502 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3249, allocations: 45.62 kB / 0.5021 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.325, allocations: 60.31 kB / 0.5021 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.3257, allocations: 0.8645 MB / 0.503 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3257, allocations: 0 / 0.503 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.3258, allocations: 24 kB / 0.503 GB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3258, allocations: 12 kB / 0.503 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.3261, allocations: 227.7 kB / 0.5032 GB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.3287, allocations: 1.803 MB / 0.505 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3289, allocations: 131.1 kB / 0.5051 GB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.329, allocations: 47.66 kB / 0.5052 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.3291, allocations: 31.97 kB / 0.5052 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3291, allocations: 41.73 kB / 0.5052 GB, free: 7.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3291, allocations: 0 / 0.5052 GB, free: 7.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004248/0.3295, allocations: 269.3 kB / 0.5055 GB, free: 7.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3296, allocations: 55.41 kB / 0.5056 GB, free: 7.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.3306, allocations: 1.179 MB / 0.5067 GB, free: 5.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3306, allocations: 37.7 kB / 0.5067 GB, free: 5.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.3309, allocations: 0.6518 MB / 0.5074 GB, free: 5.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.331, allocations: 87.38 kB / 0.5075 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3311, allocations: 83.67 kB / 0.5075 GB, free: 5.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3312, allocations: 0.4886 MB / 0.508 GB, free: 4.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3313, allocations: 73.52 kB / 0.5081 GB, free: 4.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3315, allocations: 211.9 kB / 0.5083 GB, free: 4.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3317, allocations: 278.8 kB / 0.5086 GB, free: 3.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3317, allocations: 0 / 0.5086 GB, free: 3.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004488/0.3322, allocations: 400.5 kB / 0.5089 GB, free: 3.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3322, allocations: 8 kB / 0.5089 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3322, allocations: 7.875 kB / 0.509 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3322, allocations: 4 kB / 0.509 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.3326, allocations: 124.2 kB / 0.5091 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008715/0.3335, allocations: 2.703 MB / 0.5117 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.3337, allocations: 51.59 kB / 0.5118 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3337, allocations: 20 kB / 0.5118 GB, free: 440 kB / 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.0002035/0.3339, allocations: 176.5 kB / 0.512 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.334, allocations: 127.4 kB / 0.5121 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.3343, allocations: 242.9 kB / 0.5123 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3343, allocations: 4 kB / 0.5123 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3343, allocations: 48 / 0.5123 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3344, allocations: 7.922 kB / 0.5123 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.3349, allocations: 0.6013 MB / 0.5129 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3349, allocations: 4 kB / 0.5129 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.3351, allocations: 74.88 kB / 0.513 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3351, allocations: 0 / 0.513 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3351, allocations: 4 kB / 0.513 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008783/0.336, allocations: 2.699 MB / 0.5156 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.336, allocations: 0 / 0.5156 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.3364, allocations: 420.9 kB / 0.516 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3365, allocations: 131.2 kB / 0.5161 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.3366, allocations: 4 kB / 0.5162 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3368, allocations: 20.2 kB / 0.5162 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.3368, allocations: 19.91 kB / 0.5162 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.3368, allocations: 19.98 kB / 0.5162 GB, free: 11.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006153/0.3374, allocations: 0.7156 MB / 0.5169 GB, free: 11.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3374, allocations: 0 / 0.5169 GB, free: 11.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.3379, allocations: 243.4 kB / 0.5171 GB, free: 10.79 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.001006/0.3389, allocations: 451.3 kB / 0.5176 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3393, allocations: 196.5 kB / 0.5178 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3393, allocations: 0 / 0.5178 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3395, allocations: 91.56 kB / 0.5178 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.3401, allocations: 228.8 kB / 0.5181 GB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3423, allocations: 1.657 MB / 0.5197 GB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3424, allocations: 238.3 kB / 0.5199 GB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.3427, allocations: 142.6 kB / 0.52 GB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3428, allocations: 64.48 kB / 0.5201 GB, free: 7.707 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3428, allocations: 0 / 0.5201 GB, free: 7.707 MB / 394.7 MB Notification: Performance of Templates: time 0.01786/0.3607, allocations: 13.05 MB / 0.5328 GB, free: 10.64 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.7511150962673128]