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.001503/0.001503, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001539/0.001539, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.455/1.455, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1465/0.1465, allocations: 19.73 MB / 280.8 MB, free: 9.301 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 2.043e-06/2.043e-06, allocations: 0 / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.024e-05, allocations: 2.312 kB / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3352/0.3352, allocations: 146.8 MB / 0.4922 GB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.3415, allocations: 3.477 MB / 0.4956 GB, free: 6.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.3418, allocations: 7.938 kB / 0.4956 GB, free: 6.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.3427, allocations: 274.1 kB / 0.4959 GB, free: 5.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.3441, allocations: 0.6451 MB / 0.4965 GB, free: 5.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.3484, allocations: 1.627 MB / 0.4981 GB, free: 3.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.3503, allocations: 1.383 MB / 0.4994 GB, free: 2.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006212/0.3509, allocations: 398 kB / 0.4998 GB, free: 1.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.352, allocations: 0.713 MB / 0.5005 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.3527, allocations: 0.5065 MB / 0.501 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.353, allocations: 60 kB / 0.5011 GB, free: 476 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.3546, allocations: 0.6778 MB / 0.5017 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.3551, allocations: 486.7 kB / 0.5022 GB, free: 15.31 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.3556, allocations: 367 kB / 0.5026 GB, free: 14.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.3579, allocations: 1.616 MB / 0.5041 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3579, allocations: 0 / 0.5041 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3579, allocations: 4 kB / 0.5041 GB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3579, allocations: 4 kB / 0.5041 GB, free: 13.32 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.002481/0.3604, allocations: 1.453 MB / 0.5056 GB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3604, allocations: 8.031 kB / 0.5056 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.3614, allocations: 290.5 kB / 0.5058 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.3628, allocations: 0.8185 MB / 0.5066 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.3628, allocations: 37.31 kB / 0.5067 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.3629, allocations: 59.94 kB / 0.5067 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.3644, allocations: 1.054 MB / 0.5078 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.3644, allocations: 3.953 kB / 0.5078 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.3645, allocations: 24 kB / 0.5078 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.3645, allocations: 19.94 kB / 0.5078 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3656, allocations: 485 kB / 0.5083 GB, free: 8.891 MB / 394.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.004162/0.3698, allocations: 1.846 MB / 0.5101 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3701, allocations: 186.6 kB / 0.5103 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3703, allocations: 76.77 kB / 0.5103 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3705, allocations: 35.95 kB / 0.5104 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3705, allocations: 42.56 kB / 0.5104 GB, free: 6.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.734e-06/0.3705, allocations: 0 / 0.5104 GB, free: 6.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007653/0.3713, allocations: 347.9 kB / 0.5107 GB, free: 6.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3714, allocations: 55.41 kB / 0.5108 GB, free: 6.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.3738, allocations: 1.685 MB / 0.5124 GB, free: 4.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.3738, allocations: 33.7 kB / 0.5125 GB, free: 4.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/0.3744, allocations: 0.5708 MB / 0.513 GB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.47e-05/0.3745, allocations: 83.36 kB / 0.5131 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.3747, allocations: 85.95 kB / 0.5132 GB, free: 3.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3748, allocations: 318 kB / 0.5135 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3751, allocations: 146.6 kB / 0.5136 GB, free: 3.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.3754, allocations: 226.7 kB / 0.5138 GB, free: 3.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.376, allocations: 345.2 kB / 0.5142 GB, free: 2.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.376, allocations: 0 / 0.5142 GB, free: 2.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00097/0.377, allocations: 0.5164 MB / 0.5147 GB, free: 2.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.377, allocations: 4 kB / 0.5147 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.377, allocations: 4 kB / 0.5147 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.377, allocations: 8 kB / 0.5147 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.3777, allocations: 115.8 kB / 0.5148 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.3792, allocations: 1.795 MB / 0.5166 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.3796, allocations: 48.03 kB / 0.5166 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.3797, allocations: 24 kB / 0.5166 GB, free: 52 kB / 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.0006/0.3803, allocations: 381.5 kB / 0.517 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.3805, allocations: 119.2 kB / 0.5171 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.3811, allocations: 327.4 kB / 0.5174 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3811, allocations: 8.906 kB / 0.5174 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3812, allocations: 0 / 0.5174 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3812, allocations: 0 / 0.5174 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.382, allocations: 0.5424 MB / 0.5179 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.382, allocations: 4 kB / 0.518 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.3824, allocations: 75.12 kB / 0.518 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3824, allocations: 0 / 0.518 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3824, allocations: 4 kB / 0.518 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.3837, allocations: 1.785 MB / 0.5198 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3837, allocations: 0 / 0.5198 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.3845, allocations: 491.3 kB / 0.5202 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3848, allocations: 151.3 kB / 0.5204 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.3849, allocations: 0 / 0.5204 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3853, allocations: 15.98 kB / 0.5204 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3853, allocations: 19.97 kB / 0.5204 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.3854, allocations: 19.98 kB / 0.5204 GB, free: 12.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001683/0.3871, allocations: 1.189 MB / 0.5216 GB, free: 10.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3871, allocations: 0 / 0.5216 GB, free: 10.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008587/0.3879, allocations: 267.3 kB / 0.5219 GB, free: 10.55 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.002423/0.3903, allocations: 0.5423 MB / 0.5224 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000807/0.3911, allocations: 271.8 kB / 0.5226 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3911, allocations: 0 / 0.5226 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3915, allocations: 107.9 kB / 0.5227 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3926, allocations: 226.7 kB / 0.523 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.396, allocations: 2.023 MB / 0.5249 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.3967, allocations: 0.52 MB / 0.5254 GB, free: 6.969 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005556/0.3972, allocations: 190.7 kB / 0.5256 GB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3974, allocations: 68.48 kB / 0.5257 GB, free: 6.711 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3974, allocations: 0 / 0.5257 GB, free: 6.711 MB / 410.7 MB Notification: Performance of Templates: time 0.02789/0.4253, allocations: 13.74 MB / 0.5391 GB, free: 9.09 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.326622329070233]