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.00154/0.00154, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001635/0.001635, allocations: 165.7 kB / 24.26 MB, free: 176 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 1.468/1.468, allocations: 158.6 MB / 186.1 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2998/0.2998, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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 2.164e-06/2.164e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.126e-05, allocations: 2.312 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3213/0.3213, allocations: 147.5 MB / 0.4888 GB, free: 1.402 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.3262, allocations: 3.609 MB / 0.4923 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.3266, allocations: 9.281 kB / 0.4923 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.3275, allocations: 271 kB / 0.4926 GB, free: 14.36 MB / 378.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.001365/0.3289, allocations: 0.5963 MB / 0.4932 GB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.333, allocations: 1.67 MB / 0.4948 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3347, allocations: 1.349 MB / 0.4961 GB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.3353, allocations: 378.1 kB / 0.4965 GB, free: 11.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009455/0.3362, allocations: 0.6998 MB / 0.4972 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.3369, allocations: 0.5004 MB / 0.4976 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.337, allocations: 56 kB / 0.4977 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.3385, allocations: 0.6388 MB / 0.4983 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.339, allocations: 486.7 kB / 0.4988 GB, free: 9.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.3395, allocations: 355 kB / 0.4991 GB, free: 9.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.3417, allocations: 1.577 MB / 0.5007 GB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3417, allocations: 0 / 0.5007 GB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3417, allocations: 0 / 0.5007 GB, free: 7.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3418, allocations: 4 kB / 0.5007 GB, free: 7.828 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.002652/0.3444, allocations: 1.422 MB / 0.5021 GB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3444, allocations: 12.03 kB / 0.5021 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.3454, allocations: 274.6 kB / 0.5023 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.3467, allocations: 0.8101 MB / 0.5031 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.3468, allocations: 37.31 kB / 0.5032 GB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3469, allocations: 60 kB / 0.5032 GB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3484, allocations: 1.062 MB / 0.5043 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3484, allocations: 0 / 0.5043 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.3485, allocations: 24 kB / 0.5043 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3485, allocations: 12 kB / 0.5043 GB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.3494, allocations: 0.4931 MB / 0.5048 GB, free: 3.434 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.3537, allocations: 1.845 MB / 0.5066 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.3541, allocations: 190 kB / 0.5068 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3542, allocations: 72.83 kB / 0.5068 GB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.3545, allocations: 31.95 kB / 0.5069 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3545, allocations: 50.44 kB / 0.5069 GB, free: 1.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.3545, allocations: 0 / 0.5069 GB, free: 1.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.000755/0.3553, allocations: 349.2 kB / 0.5072 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3553, allocations: 55.41 kB / 0.5073 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.3579, allocations: 1.652 MB / 0.5089 GB, free: 15.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.3579, allocations: 33.7 kB / 0.5089 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.3585, allocations: 0.5667 MB / 0.5095 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.3586, allocations: 79.44 kB / 0.5096 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3587, allocations: 78.02 kB / 0.5096 GB, free: 14.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3589, allocations: 322 kB / 0.5099 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3592, allocations: 134.7 kB / 0.5101 GB, free: 13.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.3595, allocations: 242.5 kB / 0.5103 GB, free: 13.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.3601, allocations: 333.5 kB / 0.5106 GB, free: 13.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3601, allocations: 0 / 0.5106 GB, free: 13.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009594/0.361, allocations: 0.5125 MB / 0.5111 GB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.361, allocations: 11.94 kB / 0.5111 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3611, allocations: 4 kB / 0.5111 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.3611, allocations: 8 kB / 0.5111 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.3617, allocations: 119.8 kB / 0.5113 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3631, allocations: 1.789 MB / 0.513 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.3635, allocations: 43.66 kB / 0.513 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.3636, allocations: 24.28 kB / 0.5131 GB, free: 10.64 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.0005843/0.3642, allocations: 380.1 kB / 0.5134 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.3644, allocations: 123.2 kB / 0.5136 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.365, allocations: 327.8 kB / 0.5139 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.365, allocations: 0 / 0.5139 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.365, allocations: 6.875 kB / 0.5139 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.365, allocations: 3.984 kB / 0.5139 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.3659, allocations: 0.5265 MB / 0.5144 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3659, allocations: 4 kB / 0.5144 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.3663, allocations: 75.89 kB / 0.5145 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.3663, allocations: 0 / 0.5145 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3664, allocations: 11.98 kB / 0.5145 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.368, allocations: 1.781 MB / 0.5162 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.368, allocations: 3.938 kB / 0.5162 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.3688, allocations: 484.1 kB / 0.5167 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.369, allocations: 143.3 kB / 0.5168 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.3691, allocations: 0 / 0.5168 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.3696, allocations: 19.98 kB / 0.5168 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3696, allocations: 11.97 kB / 0.5168 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.3696, allocations: 23.05 kB / 0.5169 GB, free: 6.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001714/0.3714, allocations: 1.172 MB / 0.518 GB, free: 5.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3714, allocations: 0 / 0.518 GB, free: 5.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008442/0.3722, allocations: 259.4 kB / 0.5183 GB, free: 5.184 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.002267/0.3745, allocations: 0.5362 MB / 0.5188 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.3753, allocations: 275.8 kB / 0.519 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3753, allocations: 4 kB / 0.5191 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.3756, allocations: 99.89 kB / 0.5191 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3768, allocations: 235.6 kB / 0.5194 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.38, allocations: 1.987 MB / 0.5213 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.3807, allocations: 0.5143 MB / 0.5218 GB, free: 1.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005396/0.3812, allocations: 194.5 kB / 0.522 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3814, allocations: 64.5 kB / 0.5221 GB, free: 1.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3814, allocations: 0 / 0.5221 GB, free: 1.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02799/0.4094, allocations: 13.7 MB / 0.5354 GB, free: 3.531 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.639601986040361]