Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.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.001873/0.001873, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001964/0.001964, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 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 1.529/1.529, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.154/0.154, allocations: 19.73 MB / 280.8 MB, free: 9.281 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.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 357.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.431e-05, allocations: 10.25 kB / 357.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.2365/0.2365, allocations: 84.91 MB / 442.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2484, allocations: 11.14 MB / 453.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.2493, allocations: 41.75 kB / 453.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.2505, allocations: 393.5 kB / 453.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.2524, allocations: 0.7361 MB / 454.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01261/0.265, allocations: 5.679 MB / 460.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.2667, allocations: 1.787 MB / 461.9 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007868/0.2675, allocations: 0.5118 MB / 462.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.27, allocations: 1.524 MB / 463.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2711, allocations: 0.6604 MB / 464.6 MB, free: 4.398 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2712, allocations: 64.72 kB / 464.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.2815, allocations: 6.182 MB / 470.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.2818, allocations: 183.2 kB / 471 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.2826, allocations: 335.2 kB / 471.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.2952, allocations: 5.394 MB / 476.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2952, allocations: 0 / 476.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2952, allocations: 0 / 476.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.2953, allocations: 0 / 476.7 MB, free: 8.551 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005326/0.3006, allocations: 1.774 MB / 478.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3006, allocations: 12.03 kB / 478.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.3013, allocations: 231.3 kB / 478.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3023, allocations: 0.5309 MB / 479.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.3027, allocations: 379 kB / 479.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3028, allocations: 72.38 kB / 479.7 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.3046, allocations: 0.843 MB / 480.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3046, allocations: 4 kB / 480.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.3047, allocations: 27.94 kB / 480.6 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.3047, allocations: 16 kB / 480.6 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.3063, allocations: 0.6061 MB / 481.2 MB, free: 3.883 MB / 346.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.004352/0.3107, allocations: 2.835 MB / 484.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3123, allocations: 0.5497 MB / 484.6 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.3128, allocations: 209.1 kB / 484.8 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06723/0.3801, allocations: 17.58 MB / 0.4906 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.3801, allocations: 41.83 kB / 0.4907 GB, free: 14.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.3801, allocations: 0 / 0.4907 GB, free: 14.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.005897/0.386, allocations: 1.365 MB / 0.492 GB, free: 13.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.3861, allocations: 59.91 kB / 0.492 GB, free: 13.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.3869, allocations: 0.6041 MB / 0.4926 GB, free: 12.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.387, allocations: 37.7 kB / 0.4927 GB, free: 12.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.3874, allocations: 447.4 kB / 0.4931 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.3876, allocations: 206.3 kB / 0.4933 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.3879, allocations: 123.9 kB / 0.4934 GB, free: 11.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003663/0.3882, allocations: 0.5704 MB / 0.494 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.3888, allocations: 190.2 kB / 0.4942 GB, free: 10.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.3894, allocations: 338.9 kB / 0.4945 GB, free: 10.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3908, allocations: 0.5172 MB / 0.495 GB, free: 9.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.3908, allocations: 7.938 kB / 0.495 GB, free: 9.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00247/0.3933, allocations: 0.8588 MB / 0.4958 GB, free: 9.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3933, allocations: 4 kB / 0.4958 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3933, allocations: 8.359 kB / 0.4958 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.3957, allocations: 486.5 kB / 0.4963 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.396, allocations: 71.89 kB / 0.4964 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.3994, allocations: 2.902 MB / 0.4992 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.3999, allocations: 63.59 kB / 0.4993 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.3999, allocations: 31.92 kB / 0.4993 GB, free: 5.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005972/0.4005, allocations: 320.1 kB / 0.4996 GB, free: 5.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004869/0.401, allocations: 294.9 kB / 0.4999 GB, free: 4.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008628/0.4019, allocations: 465.7 kB / 0.5003 GB, free: 4.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.4019, allocations: 0 / 0.5003 GB, free: 4.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001694/0.4036, allocations: 0.6987 MB / 0.501 GB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4036, allocations: 8.375 kB / 0.501 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4036, allocations: 8 kB / 0.501 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.4043, allocations: 186.9 kB / 0.5012 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.4047, allocations: 108.7 kB / 0.5013 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.4125, allocations: 6.896 MB / 0.508 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.4129, allocations: 47.72 kB / 0.5081 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.413, allocations: 20 kB / 0.5081 GB, free: 11.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,7), (4,7), (4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.4132, allocations: 296 kB / 0.5084 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.4134, allocations: 91.53 kB / 0.5085 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.4163, allocations: 1.151 MB / 0.5096 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.4163, allocations: 19.92 kB / 0.5096 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4163, allocations: 0 / 0.5096 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.4163, allocations: 3.984 kB / 0.5096 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4173, allocations: 0.6666 MB / 0.5103 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4174, allocations: 4 kB / 0.5103 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.4177, allocations: 59.97 kB / 0.5103 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.4193, allocations: 0.6302 MB / 0.5109 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.4194, allocations: 15.94 kB / 0.511 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.4229, allocations: 3.122 MB / 0.514 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4229, allocations: 0 / 0.514 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.4261, allocations: 1.469 MB / 0.5154 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4264, allocations: 127.1 kB / 0.5156 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-05/0.4265, allocations: 12 kB / 0.5156 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4268, allocations: 27.97 kB / 0.5156 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.427, allocations: 48.42 kB / 0.5157 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.427, allocations: 19.98 kB / 0.5157 GB, free: 3.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007116/0.4277, allocations: 386.8 kB / 0.516 GB, free: 3.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4277, allocations: 0 / 0.516 GB, free: 3.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003439/0.4312, allocations: 1.208 MB / 0.5172 GB, free: 2.316 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004819/0.436, allocations: 1.192 MB / 0.5184 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.4395, allocations: 1.485 MB / 0.5198 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4395, allocations: 0 / 0.5198 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.4411, allocations: 495.6 kB / 0.5203 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.4427, allocations: 294.3 kB / 0.5206 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.4464, allocations: 1.743 MB / 0.5223 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.4469, allocations: 397.2 kB / 0.5227 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007422/0.4477, allocations: 188.8 kB / 0.5228 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4478, allocations: 44.5 kB / 0.5229 GB, free: 12.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.4478, allocations: 4 kB / 0.5229 GB, free: 12.36 MB / 410.7 MB Notification: Performance of Templates: time 0.07839/0.5262, allocations: 43.04 MB / 0.5649 GB, free: 1.555 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.052492532064207]