Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.0015/0.0015, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001545/0.001545, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.405/1.405, allocations: 158.6 MB / 185.7 MB, free: 6.406 MB / 174.1 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.2809/0.2809, allocations: 36.35 MB / 274.3 MB, free: 0.7227 MB / 254.1 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.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 414.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.561e-05, allocations: 2.281 kB / 414.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04131/0.04133, allocations: 33.83 MB / 448.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.0602, allocations: 13.04 MB / 461.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.06048, allocations: 7.938 kB / 461.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.06102, allocations: 142.9 kB / 461.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.06156, allocations: 234.2 kB / 462.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01789/0.07945, allocations: 6.54 MB / 468.7 MB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.0804, allocations: 0.6217 MB / 469.3 MB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.08075, allocations: 174.3 kB / 469.4 MB, free: 4.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.08121, allocations: 315.1 kB / 469.8 MB, free: 4.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.08151, allocations: 179.4 kB / 469.9 MB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.08156, allocations: 28 kB / 470 MB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1992/0.2807, allocations: 8.556 MB / 478.5 MB, free: 21.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2808, allocations: 70.95 kB / 478.6 MB, free: 21.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.2811, allocations: 135.2 kB / 478.7 MB, free: 21.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.2934, allocations: 6.579 MB / 485.3 MB, free: 21.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2934, allocations: 0 / 485.3 MB, free: 21.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2934, allocations: 0 / 485.3 MB, free: 21.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2934, allocations: 1.281 kB / 485.3 MB, free: 21.11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003549/0.297, allocations: 1.184 MB / 486.5 MB, free: 20.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.297, allocations: 10 kB / 486.5 MB, free: 20.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.2973, allocations: 65.42 kB / 486.5 MB, free: 20.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.2977, allocations: 267.7 kB / 486.8 MB, free: 20.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2977, allocations: 26.34 kB / 486.8 MB, free: 20.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.2977, allocations: 25.53 kB / 486.9 MB, free: 20.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.2983, allocations: 352.5 kB / 487.2 MB, free: 20.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2983, allocations: 1.125 kB / 487.2 MB, free: 20.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.2984, allocations: 18.03 kB / 487.2 MB, free: 20.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2984, allocations: 5.906 kB / 487.2 MB, free: 20.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.2988, allocations: 203.5 kB / 487.4 MB, free: 20.12 MB / 398.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.001305/0.3002, allocations: 1.118 MB / 488.5 MB, free: 19.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.3006, allocations: 177.2 kB / 488.7 MB, free: 19.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3007, allocations: 47.22 kB / 488.8 MB, free: 19.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1075/0.4082, allocations: 33.64 MB / 0.5102 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.4083, allocations: 34.56 kB / 0.5102 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.4083, allocations: 0 / 0.5102 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001144/0.4094, allocations: 313.1 kB / 0.5105 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.4094, allocations: 51.41 kB / 0.5105 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4097, allocations: 292.4 kB / 0.5108 GB, free: 464 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4097, allocations: 31.45 kB / 0.5109 GB, free: 432 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.4098, allocations: 216.2 kB / 0.5111 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.4099, allocations: 56.69 kB / 0.5111 GB, free: 212 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.4099, allocations: 39.02 kB / 0.5112 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.41, allocations: 344.5 kB / 0.5115 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4101, allocations: 42.11 kB / 0.5115 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.4103, allocations: 109.4 kB / 0.5116 GB, free: 15.7 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.4114, allocations: 290.8 kB / 0.5119 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4114, allocations: 0 / 0.5119 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004558/0.4118, allocations: 221.3 kB / 0.5121 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4118, allocations: 12.03 kB / 0.5121 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4119, allocations: 0 / 0.5121 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.412, allocations: 24.03 kB / 0.5121 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4122, allocations: 50.78 kB / 0.5122 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.4134, allocations: 1.258 MB / 0.5134 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.4136, allocations: 11.89 kB / 0.5134 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4136, allocations: 18.53 kB / 0.5135 GB, free: 13.9 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.4138, allocations: 144.2 kB / 0.5136 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.4138, allocations: 35.75 kB / 0.5136 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.4148, allocations: 0.6267 MB / 0.5142 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4148, allocations: 3.984 kB / 0.5142 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4148, allocations: 8.969 kB / 0.5142 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4148, allocations: 3.938 kB / 0.5143 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.4161, allocations: 0.9973 MB / 0.5152 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4161, allocations: 0 / 0.5152 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.4163, allocations: 31.98 kB / 0.5153 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.4164, allocations: 24.72 kB / 0.5153 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4164, allocations: 2.5 kB / 0.5153 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.4176, allocations: 1.261 MB / 0.5165 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4176, allocations: 0 / 0.5165 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.4184, allocations: 0.671 MB / 0.5172 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.4185, allocations: 43.67 kB / 0.5172 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.4185, allocations: 3.938 kB / 0.5172 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4187, allocations: 8.156 kB / 0.5172 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4187, allocations: 15.78 kB / 0.5172 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4187, allocations: 4 kB / 0.5172 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.419, allocations: 211.4 kB / 0.5174 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 0 / 0.5174 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0062/0.4252, allocations: 1.28 MB / 0.5187 GB, free: 9.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008456/0.4336, allocations: 1.588 MB / 0.5202 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.4343, allocations: 300.8 kB / 0.5205 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4343, allocations: 4.125 kB / 0.5205 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.4346, allocations: 214.8 kB / 0.5207 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.4355, allocations: 133.5 kB / 0.5209 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.4371, allocations: 0.8551 MB / 0.5217 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4373, allocations: 212.1 kB / 0.5219 GB, free: 6.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.4375, allocations: 72.31 kB / 0.522 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.4376, allocations: 26 kB / 0.522 GB, free: 6.168 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4376, allocations: 0 / 0.522 GB, free: 6.168 MB / 414.1 MB Notification: Performance of Templates: time 0.07351/0.5111, allocations: 48.4 MB / 0.5693 GB, free: 5.832 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.585157960653305] Failed to read output from testmodel.py, exit status != 0: 0.5203832127153873 0.535755256 0.238873992 Calling exit ...