Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.001309/0.001309, allocations: 84 kB / 20.68 MB, free: 1.023 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.001419/0.001419, allocations: 163.6 kB / 23.95 MB, free: 4.156 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.361/1.361, allocations: 158.6 MB / 185.7 MB, free: 6.418 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.2752/0.2752, allocations: 36.35 MB / 274.3 MB, free: 0.6406 MB / 254.1 MB " [Timeout remaining time 180] 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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 414.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.926e-05, allocations: 2.281 kB / 414.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04897/0.049, allocations: 40.14 MB / 455 MB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.0686, allocations: 13.65 MB / 468.7 MB, free: 5.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.06891, allocations: 11.94 kB / 468.7 MB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.06958, allocations: 194.6 kB / 468.9 MB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.07008, allocations: 262 kB / 469.1 MB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2021/0.2721, allocations: 6.636 MB / 475.8 MB, free: 17.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2732, allocations: 0.6949 MB / 476.4 MB, free: 17.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.2737, allocations: 205.8 kB / 476.6 MB, free: 17.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.2741, allocations: 354.5 kB / 477 MB, free: 17.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.2745, allocations: 218.8 kB / 477.2 MB, free: 17.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.2746, allocations: 27.59 kB / 477.2 MB, free: 17.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.2911, allocations: 8.627 MB / 485.9 MB, free: 17.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2913, allocations: 77.27 kB / 485.9 MB, free: 17.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.2916, allocations: 150.2 kB / 486.1 MB, free: 17.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3035, allocations: 6.688 MB / 492.8 MB, free: 17.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3035, allocations: 3.625 kB / 492.8 MB, free: 17.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3035, allocations: 0 / 492.8 MB, free: 17.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3035, allocations: 0 / 492.8 MB, free: 17.55 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003772/0.3073, allocations: 1.244 MB / 494 MB, free: 16.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3073, allocations: 10.97 kB / 494 MB, free: 16.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.3076, allocations: 67.95 kB / 494.1 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.308, allocations: 270.4 kB / 494.4 MB, free: 16.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.308, allocations: 24.47 kB / 494.4 MB, free: 16.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.3081, allocations: 38.02 kB / 494.4 MB, free: 16.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.3088, allocations: 406.9 kB / 494.8 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3088, allocations: 2.531 kB / 494.8 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3088, allocations: 17.62 kB / 494.8 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3088, allocations: 9.844 kB / 494.8 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.3094, allocations: 254.9 kB / 495.1 MB, free: 16.34 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.00127/0.3107, allocations: 1.188 MB / 496.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.3113, allocations: 199.5 kB / 496.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3114, allocations: 63 kB / 496.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/0.4279, allocations: 33.64 MB / 0.5178 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.4279, allocations: 38 kB / 0.5178 GB, free: 6.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.4279, allocations: 3 kB / 0.5178 GB, free: 6.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001444/0.4294, allocations: 376 kB / 0.5182 GB, free: 6.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4294, allocations: 59.09 kB / 0.5182 GB, free: 6.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.4298, allocations: 292.3 kB / 0.5185 GB, free: 6.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.4298, allocations: 31.95 kB / 0.5185 GB, free: 6.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4299, allocations: 218.7 kB / 0.5187 GB, free: 5.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.43, allocations: 70.5 kB / 0.5188 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.4301, allocations: 52.7 kB / 0.5188 GB, free: 5.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4303, allocations: 334.6 kB / 0.5192 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4304, allocations: 69.08 kB / 0.5192 GB, free: 5.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4306, allocations: 106.6 kB / 0.5193 GB, free: 5.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.4309, allocations: 181.2 kB / 0.5195 GB, free: 5.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4309, allocations: 3.938 kB / 0.5195 GB, free: 5.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006316/0.4315, allocations: 301.3 kB / 0.5198 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4316, allocations: 4 kB / 0.5198 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4316, allocations: 8.188 kB / 0.5198 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.432, allocations: 76.19 kB / 0.5199 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4322, allocations: 43.97 kB / 0.5199 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.4339, allocations: 1.865 MB / 0.5217 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.434, allocations: 23.36 kB / 0.5218 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4341, allocations: 11.44 kB / 0.5218 GB, free: 3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002322/0.4343, allocations: 160 kB / 0.5219 GB, free: 2.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001714/0.4345, allocations: 111.9 kB / 0.522 GB, free: 2.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002949/0.4348, allocations: 172.3 kB / 0.5222 GB, free: 2.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.4348, allocations: 0 / 0.5222 GB, free: 2.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006195/0.4354, allocations: 297.4 kB / 0.5225 GB, free: 2.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4354, allocations: 4 kB / 0.5225 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4354, allocations: 4 kB / 0.5225 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.4357, allocations: 77.84 kB / 0.5226 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4359, allocations: 43.55 kB / 0.5226 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.4375, allocations: 1.877 MB / 0.5244 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.4377, allocations: 20.05 kB / 0.5245 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4377, allocations: 15.19 kB / 0.5245 GB, free: 196 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.4378, allocations: 189.8 kB / 0.5247 GB, free: 0 / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.4379, allocations: 32 kB / 0.5247 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4391, allocations: 0.8526 MB / 0.5255 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4391, allocations: 11.98 kB / 0.5255 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4391, allocations: 4 kB / 0.5255 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4391, allocations: 3.984 kB / 0.5255 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.4397, allocations: 460.7 kB / 0.526 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4397, allocations: 0 / 0.526 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.4399, allocations: 43.55 kB / 0.526 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.965e-05/0.44, allocations: 20.84 kB / 0.526 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.44, allocations: 8 kB / 0.526 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4411, allocations: 1.26 MB / 0.5273 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4411, allocations: 3.188 kB / 0.5273 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4422, allocations: 0.8271 MB / 0.5281 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.4422, allocations: 47.53 kB / 0.5281 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4423, allocations: 7.938 kB / 0.5281 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4425, allocations: 12.03 kB / 0.5282 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.4425, allocations: 11.97 kB / 0.5282 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4425, allocations: 11 kB / 0.5282 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.4428, allocations: 207.2 kB / 0.5284 GB, free: 12.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4428, allocations: 4 kB / 0.5284 GB, free: 12.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005496/0.4483, allocations: 1.372 MB / 0.5297 GB, free: 10.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008261/0.4565, allocations: 1.586 MB / 0.5313 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.458, allocations: 0.5991 MB / 0.5318 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.458, allocations: 0 / 0.5318 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.4585, allocations: 271 kB / 0.5321 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4596, allocations: 125.5 kB / 0.5322 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4616, allocations: 1.033 MB / 0.5332 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4619, allocations: 237.5 kB / 0.5335 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002623/0.4621, allocations: 136 kB / 0.5336 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.4622, allocations: 32.48 kB / 0.5336 GB, free: 6.754 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4622, allocations: 0 / 0.5336 GB, free: 6.754 MB / 430.1 MB Notification: Performance of Templates: time 0.07365/0.5359, allocations: 49.67 MB / 0.5821 GB, free: 5.109 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.843628995120525] Failed to read output from testmodel.py, exit status != 0: 0.5451798141002655 0.5600453550000001 0.253218648 Calling exit ...