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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 102.4 kB / 16.5 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 191.1 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2805/0.2805, allocations: 48.85 MB / 319.5 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.64 kB / 389.3 MB, free: 49.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09209, allocations: 59.16 MB / 448.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3596/0.4518, allocations: 168.7 MB / 0.6027 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.4571, allocations: 4.033 MB / 0.6067 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.4576, allocations: 13.22 kB / 0.6067 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.4586, allocations: 240 kB / 0.6069 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.4596, allocations: 0.537 MB / 0.6074 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.4637, allocations: 1.5 MB / 0.6089 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.4657, allocations: 1.723 MB / 0.6106 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.4662, allocations: 344.1 kB / 0.6109 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.4669, allocations: 460.5 kB / 0.6114 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.4675, allocations: 0.5274 MB / 0.6119 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.4676, allocations: 27.72 kB / 0.6119 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.4709, allocations: 1.689 MB / 0.6136 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.4713, allocations: 447.9 kB / 0.614 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.4718, allocations: 0.4984 MB / 0.6145 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.4744, allocations: 1.962 MB / 0.6164 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4744, allocations: 1.812 kB / 0.6164 GB, free: 13.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4744, allocations: 0 / 0.6164 GB, free: 13.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4745, allocations: 0 / 0.6164 GB, free: 13.89 MB / 446.1 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.002265/0.4767, allocations: 1.53 MB / 0.6179 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4768, allocations: 10.12 kB / 0.6179 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.4776, allocations: 184.8 kB / 0.6181 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.4788, allocations: 0.8468 MB / 0.6189 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.4789, allocations: 37.16 kB / 0.6189 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.479, allocations: 48.97 kB / 0.619 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.48, allocations: 0.6207 MB / 0.6196 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4801, allocations: 4 kB / 0.6196 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.4801, allocations: 29.73 kB / 0.6196 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4802, allocations: 12.22 kB / 0.6196 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.4809, allocations: 475.7 kB / 0.6201 GB, free: 11.29 MB / 446.1 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.004192/0.4851, allocations: 2.605 MB / 0.6226 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4854, allocations: 135.5 kB / 0.6228 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.4855, allocations: 52.84 kB / 0.6228 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.4857, allocations: 125.1 kB / 0.6229 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4858, allocations: 42.5 kB / 0.623 GB, free: 8.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.4858, allocations: 0 / 0.623 GB, free: 8.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005366/0.4863, allocations: 280.1 kB / 0.6232 GB, free: 7.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4864, allocations: 55.41 kB / 0.6233 GB, free: 7.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.4886, allocations: 1.902 MB / 0.6251 GB, free: 5.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4887, allocations: 29.7 kB / 0.6252 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.4891, allocations: 0.5827 MB / 0.6257 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.4892, allocations: 55.28 kB / 0.6258 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4893, allocations: 81.59 kB / 0.6259 GB, free: 5.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4895, allocations: 318 kB / 0.6262 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4897, allocations: 121.5 kB / 0.6263 GB, free: 4.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.49, allocations: 255.3 kB / 0.6265 GB, free: 4.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.4904, allocations: 344.4 kB / 0.6269 GB, free: 3.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4904, allocations: 2.625 kB / 0.6269 GB, free: 3.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008321/0.4912, allocations: 0.4883 MB / 0.6273 GB, free: 3.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4913, allocations: 8 kB / 0.6273 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4913, allocations: 4 kB / 0.6273 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4913, allocations: 8 kB / 0.6274 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.4919, allocations: 108.8 kB / 0.6275 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006213/0.4925, allocations: 1.203 MB / 0.6286 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.493, allocations: 67.27 kB / 0.6287 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.4931, allocations: 23.94 kB / 0.6287 GB, free: 1.988 MB / 446.1 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.0004915/0.4936, allocations: 373.7 kB / 0.6291 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4938, allocations: 118.5 kB / 0.6292 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.4942, allocations: 283.3 kB / 0.6295 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.4943, allocations: 3.938 kB / 0.6295 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4943, allocations: 3.938 kB / 0.6295 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4943, allocations: 0 / 0.6295 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.4952, allocations: 0.6795 MB / 0.6301 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4952, allocations: 0 / 0.6301 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4954, allocations: 51.95 kB / 0.6302 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4955, allocations: 4 kB / 0.6302 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4955, allocations: 4 kB / 0.6302 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006226/0.4961, allocations: 1.188 MB / 0.6314 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4961, allocations: 0 / 0.6314 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.4966, allocations: 417 kB / 0.6317 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.497, allocations: 235.6 kB / 0.632 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4971, allocations: 4 kB / 0.632 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.4976, allocations: 19.92 kB / 0.632 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.4976, allocations: 11.98 kB / 0.632 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.4976, allocations: 15.98 kB / 0.632 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001687/0.4993, allocations: 1.358 MB / 0.6333 GB, free: 13.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4993, allocations: 64 / 0.6333 GB, free: 13.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008503/0.5002, allocations: 235.8 kB / 0.6336 GB, free: 12.86 MB / 462.1 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.001313/0.5015, allocations: 0.5344 MB / 0.6341 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006166/0.5021, allocations: 260.3 kB / 0.6343 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5022, allocations: 0 / 0.6343 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.5024, allocations: 71.91 kB / 0.6344 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.504, allocations: 353.3 kB / 0.6347 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.507, allocations: 2.251 MB / 0.6369 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.5077, allocations: 1.11 MB / 0.638 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006671/0.5083, allocations: 224.4 kB / 0.6382 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.5085, allocations: 71.44 kB / 0.6383 GB, free: 7.941 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5085, allocations: 0 / 0.6383 GB, free: 7.941 MB / 462.1 MB Notification: Performance of Templates: time 0.02682/0.5353, allocations: 16.7 MB / 0.6546 GB, free: 7.215 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (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)