Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.001969/0.001969, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002463/0.002463, allocations: 211.6 kB / 24.48 MB, free: 3.863 MB / 14.72 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 1.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.1513/0.1513, allocations: 26.84 MB / 341.5 MB, free: 7.98 MB / 270.1 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 478 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 60.48 MB / 0.5259 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03655/0.3544, allocations: 31.87 MB / 0.557 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3659, allocations: 7.621 MB / 0.5644 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.3664, allocations: 15.25 kB / 0.5645 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.367, allocations: 135.2 kB / 0.5646 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009705/0.3679, allocations: 279.6 kB / 0.5649 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.3819, allocations: 4.464 MB / 0.5692 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.3829, allocations: 0.6035 MB / 0.5698 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.3833, allocations: 185.4 kB / 0.57 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.3842, allocations: 454.8 kB / 0.5704 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.3846, allocations: 271 kB / 0.5707 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.3846, allocations: 24 kB / 0.5707 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.3963, allocations: 5.9 MB / 0.5765 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3965, allocations: 67.69 kB / 0.5765 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.3967, allocations: 155.2 kB / 0.5767 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008921/0.4057, allocations: 3.644 MB / 0.5802 GB, free: 12.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4057, allocations: 0 / 0.5802 GB, free: 12.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4057, allocations: 0 / 0.5802 GB, free: 12.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.4057, allocations: 4 kB / 0.5802 GB, free: 12.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003153/0.4088, allocations: 0.9936 MB / 0.5812 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4089, allocations: 8.031 kB / 0.5812 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.409, allocations: 52.59 kB / 0.5813 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.4095, allocations: 257.3 kB / 0.5815 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4097, allocations: 72.47 kB / 0.5816 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.4097, allocations: 36.11 kB / 0.5816 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.4105, allocations: 332.2 kB / 0.5819 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4105, allocations: 0 / 0.5819 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.4105, allocations: 12 kB / 0.5819 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4105, allocations: 4 kB / 0.5819 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.4114, allocations: 269.7 kB / 0.5822 GB, free: 10.88 MB / 430.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.001508/0.4129, allocations: 0.8669 MB / 0.583 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.4135, allocations: 194.7 kB / 0.5832 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.4139, allocations: 104.7 kB / 0.5833 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06468/0.4785, allocations: 17.58 MB / 0.6005 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4786, allocations: 38.56 kB / 0.6005 GB, free: 8.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.4786, allocations: 4 kB / 0.6005 GB, free: 8.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.002692/0.4813, allocations: 0.5796 MB / 0.6011 GB, free: 7.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4813, allocations: 55.41 kB / 0.6012 GB, free: 7.367 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4816, allocations: 248.2 kB / 0.6014 GB, free: 7.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.4816, allocations: 29.7 kB / 0.6014 GB, free: 7.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4818, allocations: 188.6 kB / 0.6016 GB, free: 6.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.4819, allocations: 71.33 kB / 0.6017 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.482, allocations: 53.69 kB / 0.6017 GB, free: 6.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4821, allocations: 330.8 kB / 0.602 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.4825, allocations: 100.8 kB / 0.6021 GB, free: 6.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.4828, allocations: 127.3 kB / 0.6023 GB, free: 6.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.4834, allocations: 226.4 kB / 0.6025 GB, free: 5.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4834, allocations: 7.938 kB / 0.6025 GB, free: 5.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001048/0.4845, allocations: 346 kB / 0.6028 GB, free: 5.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4845, allocations: 8 kB / 0.6028 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4845, allocations: 0 / 0.6028 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.4851, allocations: 104.7 kB / 0.6029 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.4853, allocations: 52.02 kB / 0.603 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/0.486, allocations: 0.6342 MB / 0.6036 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.4863, allocations: 35.89 kB / 0.6036 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4863, allocations: 11.98 kB / 0.6036 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003961/0.4867, allocations: 191.9 kB / 0.6038 GB, free: 4.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003082/0.487, allocations: 123.4 kB / 0.6039 GB, free: 4.414 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006023/0.4876, allocations: 214.2 kB / 0.6041 GB, free: 4.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.4876, allocations: 0 / 0.6041 GB, free: 4.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009359/0.4885, allocations: 337.9 kB / 0.6045 GB, free: 3.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.4886, allocations: 7.062 kB / 0.6045 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.4886, allocations: 3.938 kB / 0.6045 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.4888, allocations: 64.73 kB / 0.6045 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.489, allocations: 48.06 kB / 0.6046 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.4911, allocations: 1.691 MB / 0.6062 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.4914, allocations: 31.92 kB / 0.6063 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4914, allocations: 4 kB / 0.6063 GB, free: 1.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001578/0.4915, allocations: 196.1 kB / 0.6064 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4916, allocations: 35.81 kB / 0.6065 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4929, allocations: 0.6006 MB / 0.6071 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.4929, allocations: 7.984 kB / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.4929, allocations: 0 / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4929, allocations: 0 / 0.6071 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.4934, allocations: 301.5 kB / 0.6074 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4934, allocations: 0 / 0.6074 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.4936, allocations: 43.95 kB / 0.6074 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.4941, allocations: 249.5 kB / 0.6076 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.4941, allocations: 7.938 kB / 0.6077 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008763/0.495, allocations: 0.8651 MB / 0.6085 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.495, allocations: 0 / 0.6085 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4966, allocations: 0.8192 MB / 0.6093 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4968, allocations: 59.58 kB / 0.6094 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4968, allocations: 8.125 kB / 0.6094 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.4971, allocations: 23.97 kB / 0.6094 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.4971, allocations: 19.97 kB / 0.6094 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.4971, allocations: 8 kB / 0.6094 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.4973, allocations: 183 kB / 0.6096 GB, free: 14.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4973, allocations: 0 / 0.6096 GB, free: 14.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002491/0.4998, allocations: 0.9318 MB / 0.6105 GB, free: 13.46 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003557/0.5034, allocations: 1.026 MB / 0.6115 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.505, allocations: 0.5273 MB / 0.612 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.505, allocations: 0 / 0.612 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.5055, allocations: 174.2 kB / 0.6122 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.5063, allocations: 108.8 kB / 0.6123 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.5077, allocations: 0.7768 MB / 0.613 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.5078, allocations: 181.6 kB / 0.6132 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.5079, allocations: 23.44 kB / 0.6132 GB, free: 10.58 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5079, allocations: 0 / 0.6132 GB, free: 10.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02979/0.5377, allocations: 19.9 MB / 0.6327 GB, free: 6.68 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.038185090059415] Failed to read output from testmodel.py, exit status != 0: 0.546776641975157 0.560889341 0.15202152600000002 Calling exit ...