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.0009555/0.0009555, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001101/0.001101, allocations: 169.9 kB / 24.92 MB, free: 9.18 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.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.449 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.13/0.13, allocations: 19.74 MB / 281.6 MB, free: 9.121 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.292e-06/1.292e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.322e-05, allocations: 2.312 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.03096/0.03099, allocations: 38.31 MB / 343.5 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.04103, allocations: 9.479 MB / 353 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.0416, allocations: 43.62 kB / 353 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.04229, allocations: 273.6 kB / 353.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.04427, allocations: 0.7413 MB / 354 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.05584, allocations: 5.473 MB / 359.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.05814, allocations: 1.787 MB / 361.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.05872, allocations: 0.5207 MB / 361.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.0603, allocations: 1.462 MB / 363.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.06097, allocations: 0.6232 MB / 363.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.06105, allocations: 68 kB / 364 MB, free: 3.285 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008483/0.06954, allocations: 6.009 MB / 370 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.06979, allocations: 191.1 kB / 370.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.0703, allocations: 335.2 kB / 370.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008979/0.07927, allocations: 5.004 MB / 375.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.07928, allocations: 0 / 375.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.07928, allocations: 0 / 375.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.0793, allocations: 7.938 kB / 375.5 MB, free: 7.73 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.002883/0.08218, allocations: 1.583 MB / 377.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.08222, allocations: 16.03 kB / 377.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.08256, allocations: 196.6 kB / 377.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.08312, allocations: 473 kB / 377.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.08332, allocations: 379 kB / 378.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.08339, allocations: 64.38 kB / 378.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.08415, allocations: 0.6517 MB / 378.8 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.08417, allocations: 7.875 kB / 378.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.08421, allocations: 32 kB / 378.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.08423, allocations: 20 kB / 378.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.08464, allocations: 260.8 kB / 379.1 MB, free: 3.906 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.001885/0.08653, allocations: 1.85 MB / 381 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.08711, allocations: 357.4 kB / 381.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.08753, allocations: 86.33 kB / 381.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1037/0.1912, allocations: 58.39 MB / 439.8 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1912, allocations: 43 kB / 439.8 MB, free: 7.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.006e-06/0.1912, allocations: 0 / 439.8 MB, free: 7.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.003851/0.1951, allocations: 1.128 MB / 441 MB, free: 5.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1951, allocations: 55.91 kB / 441 MB, free: 5.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.1956, allocations: 459 kB / 441.5 MB, free: 5.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.1956, allocations: 37.7 kB / 441.5 MB, free: 5.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1958, allocations: 293.9 kB / 441.8 MB, free: 5.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.196, allocations: 198.3 kB / 442 MB, free: 4.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1961, allocations: 102.2 kB / 442.1 MB, free: 4.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1963, allocations: 382.6 kB / 442.5 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.1965, allocations: 71.45 kB / 442.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1966, allocations: 155.5 kB / 442.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.197, allocations: 274.2 kB / 443 MB, free: 3.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.197, allocations: 4 kB / 443 MB, free: 3.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001049/0.1981, allocations: 472.5 kB / 443.4 MB, free: 3.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1981, allocations: 8 kB / 443.4 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1981, allocations: 0 / 443.4 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.1995, allocations: 404.8 kB / 443.8 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1997, allocations: 63.84 kB / 443.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2012, allocations: 1.858 MB / 445.7 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.2016, allocations: 55.66 kB / 445.8 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.2016, allocations: 23.98 kB / 445.8 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002824/0.2019, allocations: 153.4 kB / 446 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001693/0.2021, allocations: 139.6 kB / 446.1 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003192/0.2024, allocations: 250.3 kB / 446.4 MB, free: 256 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.2024, allocations: 0 / 446.4 MB, free: 256 kB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.1463/0.3487, allocations: 423.6 kB / 446.8 MB, free: 117.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3487, allocations: 6.562 kB / 446.8 MB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3487, allocations: 2.812 kB / 446.8 MB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.3492, allocations: 159.5 kB / 446.9 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3495, allocations: 92.52 kB / 447 MB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.3523, allocations: 4.483 MB / 451.5 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3527, allocations: 48.52 kB / 451.6 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3527, allocations: 17.44 kB / 451.6 MB, free: 113.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (Pump1.inletFluidState.phase,Pump2.inletFluidState.phase,Pump3.inletFluidState.phase,Pump1.int_Np,Pump2.int_Np,Pump3.int_Np) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 32 * 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 {(5,6), (5,6), (5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.3529, allocations: 214.1 kB / 451.8 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.353, allocations: 56.98 kB / 451.8 MB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.3542, allocations: 0.8788 MB / 452.7 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.3542, allocations: 16.38 kB / 452.7 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.3542, allocations: 0 / 452.7 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3542, allocations: 9.938 kB / 452.7 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.3548, allocations: 452.8 kB / 453.2 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3548, allocations: 1.875 kB / 453.2 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.355, allocations: 64.89 kB / 453.3 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/0.3559, allocations: 0.5202 MB / 453.8 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.3559, allocations: 13.09 kB / 453.8 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3571, allocations: 2.051 MB / 455.8 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3571, allocations: 0.9062 kB / 455.8 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.3583, allocations: 0.971 MB / 456.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3584, allocations: 104.9 kB / 456.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.3585, allocations: 9.828 kB / 456.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3587, allocations: 28.92 kB / 456.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3589, allocations: 50.81 kB / 457 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.3589, allocations: 14.53 kB / 457 MB, free: 111.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.3591, allocations: 200.6 kB / 457.2 MB, free: 111.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3591, allocations: 5.703 kB / 457.2 MB, free: 111.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002961/0.3621, allocations: 1.204 MB / 458.4 MB, free: 111.1 MB / 410.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.003236/0.3653, allocations: 1.225 MB / 459.6 MB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.3669, allocations: 0.9992 MB / 460.6 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.3669, allocations: 5.094 kB / 460.6 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.3676, allocations: 365.6 kB / 461 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.3686, allocations: 303 kB / 461.3 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.3713, allocations: 1.655 MB / 463 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3714, allocations: 179.6 kB / 463.1 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.3718, allocations: 182.7 kB / 463.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.3721, allocations: 215.9 kB / 463.5 MB, free: 109.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3721, allocations: 0 / 463.5 MB, free: 109.7 MB / 410.7 MB Notification: Performance of Templates: time 0.04521/0.4173, allocations: 47.99 MB / 0.4995 GB, free: 70.9 MB / 410.7 MB " [Timeout remaining time 660] 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: 4.848024922888726]