Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001416/0.001416, 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.001649/0.001649, 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 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.476/1.476, allocations: 158.6 MB / 186.1 MB, free: 2.891 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.2985/0.2985, 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.608e-05, allocations: 2.312 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3308/0.3308, allocations: 147.5 MB / 0.4888 GB, free: 1.402 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.336, allocations: 3.613 MB / 0.4923 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.3365, allocations: 8.906 kB / 0.4923 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.3375, allocations: 272.1 kB / 0.4926 GB, free: 14.35 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.001399/0.3389, allocations: 0.5894 MB / 0.4932 GB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.3433, allocations: 1.664 MB / 0.4948 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.345, allocations: 1.343 MB / 0.4961 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007274/0.3458, allocations: 367.3 kB / 0.4964 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.3471, allocations: 0.6969 MB / 0.4971 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.3479, allocations: 0.4961 MB / 0.4976 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.3481, allocations: 56 kB / 0.4977 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.3511, allocations: 1.251 MB / 0.4989 GB, free: 9.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.3517, allocations: 486.7 kB / 0.4993 GB, free: 9.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.3523, allocations: 351 kB / 0.4997 GB, free: 8.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.3556, allocations: 1.983 MB / 0.5016 GB, free: 6.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3556, allocations: 0 / 0.5016 GB, free: 6.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3556, allocations: 4 kB / 0.5016 GB, free: 6.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.3557, allocations: 0 / 0.5016 GB, free: 6.84 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003002/0.3587, allocations: 1.484 MB / 0.5031 GB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3587, allocations: 8.031 kB / 0.5031 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3597, allocations: 286.6 kB / 0.5033 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.3612, allocations: 0.8024 MB / 0.5041 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.3612, allocations: 37.31 kB / 0.5042 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3614, allocations: 56 kB / 0.5042 GB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3628, allocations: 1.039 MB / 0.5052 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3628, allocations: 4 kB / 0.5052 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.3629, allocations: 28 kB / 0.5053 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3629, allocations: 12 kB / 0.5053 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.3638, allocations: 484.9 kB / 0.5057 GB, free: 2.422 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.004316/0.3681, allocations: 1.841 MB / 0.5075 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3684, allocations: 137.9 kB / 0.5077 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.3685, allocations: 44.84 kB / 0.5077 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.3687, allocations: 55.95 kB / 0.5078 GB, free: 296 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3688, allocations: 34.56 kB / 0.5078 GB, free: 252 kB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3688, allocations: 0 / 0.5078 GB, free: 252 kB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006203/0.3694, allocations: 269.9 kB / 0.5081 GB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3694, allocations: 59.41 kB / 0.5081 GB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.3719, allocations: 1.673 MB / 0.5097 GB, free: 14.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.372, allocations: 33.7 kB / 0.5098 GB, free: 14.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.3726, allocations: 0.5938 MB / 0.5104 GB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.3727, allocations: 59.52 kB / 0.5104 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3729, allocations: 81.64 kB / 0.5105 GB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3731, allocations: 321.9 kB / 0.5108 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.3734, allocations: 130.2 kB / 0.5109 GB, free: 12.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3738, allocations: 255.1 kB / 0.5112 GB, free: 12.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.3743, allocations: 329.7 kB / 0.5115 GB, free: 12.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3743, allocations: 4 kB / 0.5115 GB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000946/0.3752, allocations: 0.4963 MB / 0.512 GB, free: 11.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3753, allocations: 8 kB / 0.512 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3753, allocations: 4 kB / 0.512 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.3753, allocations: 8.562 kB / 0.512 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.3759, allocations: 103.9 kB / 0.5121 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009689/0.3769, allocations: 1.199 MB / 0.5133 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.3773, allocations: 51.66 kB / 0.5133 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.3773, allocations: 24 kB / 0.5133 GB, free: 10.34 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006193/0.378, allocations: 377.5 kB / 0.5137 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.3782, allocations: 111.3 kB / 0.5138 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.3787, allocations: 265.7 kB / 0.5141 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3787, allocations: 0 / 0.5141 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3787, allocations: 0 / 0.5141 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3787, allocations: 0 / 0.5141 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/0.3795, allocations: 0.5189 MB / 0.5146 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3795, allocations: 3.938 kB / 0.5146 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.3798, allocations: 43.97 kB / 0.5146 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3798, allocations: 0 / 0.5146 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3798, allocations: 8 kB / 0.5146 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008872/0.3807, allocations: 1.188 MB / 0.5158 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3807, allocations: 0 / 0.5158 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.3813, allocations: 400 kB / 0.5162 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.3816, allocations: 135.3 kB / 0.5163 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3817, allocations: 3.938 kB / 0.5163 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.3821, allocations: 19.98 kB / 0.5163 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.3821, allocations: 7.984 kB / 0.5163 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.3821, allocations: 23.03 kB / 0.5163 GB, free: 7.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001681/0.3838, allocations: 1.181 MB / 0.5175 GB, free: 5.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 160 / 0.5175 GB, free: 5.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.3847, allocations: 271.2 kB / 0.5177 GB, free: 5.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002307/0.387, allocations: 0.5628 MB / 0.5183 GB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.3877, allocations: 232.4 kB / 0.5185 GB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3877, allocations: 0 / 0.5185 GB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3879, allocations: 71.91 kB / 0.5186 GB, free: 4.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3889, allocations: 209.4 kB / 0.5188 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.392, allocations: 1.92 MB / 0.5207 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.3927, allocations: 0.5064 MB / 0.5212 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004897/0.3932, allocations: 182.6 kB / 0.5213 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3934, allocations: 68.48 kB / 0.5214 GB, free: 1.926 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3934, allocations: 0 / 0.5214 GB, free: 1.926 MB / 394.7 MB Notification: Performance of Templates: time 0.02622/0.4196, allocations: 13.5 MB / 0.5346 GB, free: 4.402 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.546889005927369]