Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.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.0009944/0.0009944, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005404/0.005404, allocations: 154.8 kB / 24.69 MB, free: 9.43 MB / 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 0.9071/0.9071, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.09004/0.09004, allocations: 19.73 MB / 281.2 MB, free: 9.461 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.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.536e-05, allocations: 7.5 kB / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.02551/0.02554, allocations: 32.74 MB / 450.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.03338, allocations: 7.815 MB / 458.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.03371, allocations: 23.81 kB / 458.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.0342, allocations: 178.5 kB / 458.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006954/0.0349, allocations: 365.4 kB / 458.9 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009786/0.04469, allocations: 4.602 MB / 463.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.04549, allocations: 0.9526 MB / 464.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.04587, allocations: 344.1 kB / 464.8 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009849/0.04685, allocations: 0.694 MB / 465.5 MB, free: 2.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.04714, allocations: 327.1 kB / 465.8 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.04719, allocations: 59.98 kB / 465.9 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007809/0.055, allocations: 5.969 MB / 471.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.05512, allocations: 131.5 kB / 472 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.05529, allocations: 219.5 kB / 472.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.06095, allocations: 4.973 MB / 477.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.06096, allocations: 4 kB / 477.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.06096, allocations: 0 / 477.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.06097, allocations: 0 / 477.2 MB, free: 7.133 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001755/0.06272, allocations: 1.208 MB / 478.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.06277, allocations: 16.02 kB / 478.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.06294, allocations: 76.52 kB / 478.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.06342, allocations: 335.9 kB / 478.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.06355, allocations: 148.4 kB / 478.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.06362, allocations: 52.38 kB / 479 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.0646, allocations: 0.5527 MB / 479.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.06462, allocations: 15.83 kB / 479.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.06465, allocations: 20 kB / 479.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.06466, allocations: 12 kB / 479.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.06525, allocations: 423.6 kB / 480 MB, free: 4.188 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.001563/0.06681, allocations: 1.472 MB / 481.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.06728, allocations: 324.1 kB / 481.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.0675, allocations: 165.7 kB / 482 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02798/0.09548, allocations: 17.53 MB / 499.5 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.09552, allocations: 39.16 kB / 499.5 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.09552, allocations: 0 / 499.5 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of matching and sorting (n=38): time 0.003222/0.09874, allocations: 1.54 MB / 0.4893 GB, free: 14.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.09878, allocations: 55.41 kB / 0.4894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.09906, allocations: 317.6 kB / 0.4897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.09908, allocations: 33.7 kB / 0.4897 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.09921, allocations: 264.4 kB / 0.49 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.09928, allocations: 142.7 kB / 0.4901 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.09937, allocations: 78.14 kB / 0.4902 GB, free: 14.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.09946, allocations: 346.8 kB / 0.4905 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.09969, allocations: 150.8 kB / 0.4906 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.09993, allocations: 207.2 kB / 0.4908 GB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.1004, allocations: 370.8 kB / 0.4912 GB, free: 12.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1004, allocations: 0 / 0.4912 GB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006483/0.101, allocations: 0.4902 MB / 0.4917 GB, free: 12.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.101, allocations: 7.938 kB / 0.4917 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1011, allocations: 8 kB / 0.4917 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.1014, allocations: 132.7 kB / 0.4918 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.1016, allocations: 91.88 kB / 0.4919 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004816/0.1021, allocations: 0.6538 MB / 0.4925 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1023, allocations: 31.94 kB / 0.4926 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.1023, allocations: 16 kB / 0.4926 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002809/0.1026, allocations: 253.1 kB / 0.4928 GB, free: 11.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002041/0.1028, allocations: 190.8 kB / 0.493 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003789/0.1032, allocations: 330.1 kB / 0.4933 GB, free: 10.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.1032, allocations: 0 / 0.4933 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0005564/0.1037, allocations: 457.8 kB / 0.4938 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.1037, allocations: 8 kB / 0.4938 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1037, allocations: 4.094 kB / 0.4938 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.1038, allocations: 60.81 kB / 0.4938 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.104, allocations: 95.83 kB / 0.4939 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1052, allocations: 1.634 MB / 0.4955 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1054, allocations: 31.97 kB / 0.4956 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1054, allocations: 16 kB / 0.4956 GB, free: 8.289 MB / 410.7 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 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1055, allocations: 200.2 kB / 0.4958 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1055, allocations: 39.77 kB / 0.4958 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1066, allocations: 0.7227 MB / 0.4965 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1066, allocations: 7.938 kB / 0.4965 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1066, allocations: 4 kB / 0.4965 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1066, allocations: 3.984 kB / 0.4965 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1079, allocations: 1.287 MB / 0.4978 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1079, allocations: 0 / 0.4978 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.1081, allocations: 80.02 kB / 0.4978 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.1084, allocations: 277.7 kB / 0.4981 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1084, allocations: 8 kB / 0.4981 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006041/0.109, allocations: 0.9273 MB / 0.499 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.109, allocations: 4.031 kB / 0.499 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.11, allocations: 1.006 MB / 0.5 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.1101, allocations: 63.73 kB / 0.5001 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1101, allocations: 11.98 kB / 0.5001 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1103, allocations: 35.92 kB / 0.5001 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.1103, allocations: 31.89 kB / 0.5001 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1103, allocations: 16 kB / 0.5002 GB, free: 3.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1105, allocations: 219.2 kB / 0.5004 GB, free: 3.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1105, allocations: 0 / 0.5004 GB, free: 3.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002122/0.1126, allocations: 0.9789 MB / 0.5013 GB, free: 2.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002267/0.1149, allocations: 1.155 MB / 0.5025 GB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.1158, allocations: 0.6906 MB / 0.5031 GB, free: 392 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1159, allocations: 0 / 0.5031 GB, free: 392 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.1166, allocations: 291.5 kB / 0.5034 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.117, allocations: 128.8 kB / 0.5035 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1184, allocations: 1.202 MB / 0.5047 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1185, allocations: 259.2 kB / 0.505 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.1186, allocations: 36.5 kB / 0.505 GB, free: 14.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1186, allocations: 0 / 0.505 GB, free: 14.41 MB / 426.7 MB Notification: Performance of Templates: time 0.02294/0.1416, allocations: 23.03 MB / 0.5275 GB, free: 7.379 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.064858579076827] Failed to read output from testmodel.py, exit status != 0: 0.14769321866333485 0.156584896 0.093871856 Calling exit ...