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.0009018/0.0009018, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009591/0.0009591, allocations: 165 kB / 24.56 MB, free: 12 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 0.8984/0.8984, allocations: 177.1 MB / 205 MB, free: 5.613 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.08265/0.08265, allocations: 19.73 MB / 281.2 MB, free: 9.258 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.323e-06/1.323e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.447e-05, allocations: 2.312 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.04442/0.04444, allocations: 38.57 MB / 396.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007956/0.05239, allocations: 9.462 MB / 406 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.05272, allocations: 47.62 kB / 406.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.05321, allocations: 281.7 kB / 406.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009642/0.05417, allocations: 0.7412 MB / 407.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1238/0.1779, allocations: 5.427 MB / 412.5 MB, free: 21.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.1798, allocations: 1.789 MB / 414.3 MB, free: 21.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.1804, allocations: 0.512 MB / 414.8 MB, free: 21.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.1821, allocations: 1.522 MB / 416.3 MB, free: 20.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.1828, allocations: 0.6576 MB / 417 MB, free: 20.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.1829, allocations: 66.25 kB / 417 MB, free: 20.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/0.1901, allocations: 6.01 MB / 423.1 MB, free: 20.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.1902, allocations: 188.1 kB / 423.2 MB, free: 20.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1904, allocations: 332 kB / 423.6 MB, free: 20.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1944, allocations: 5.017 MB / 428.6 MB, free: 20.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1944, allocations: 0 / 428.6 MB, free: 20.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1944, allocations: 0 / 428.6 MB, free: 20.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1944, allocations: 0 / 428.6 MB, free: 20.6 MB / 330.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.001884/0.1963, allocations: 1.692 MB / 430.3 MB, free: 19.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1964, allocations: 15.44 kB / 430.3 MB, free: 19.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.1967, allocations: 223.2 kB / 430.5 MB, free: 19.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1971, allocations: 0.5316 MB / 431 MB, free: 19.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1972, allocations: 378.6 kB / 431.4 MB, free: 18.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.1973, allocations: 68.66 kB / 431.5 MB, free: 18.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.198, allocations: 0.7175 MB / 432.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.198, allocations: 5.594 kB / 432.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.1981, allocations: 27.81 kB / 432.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1981, allocations: 20.47 kB / 432.2 MB, free: 18.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1986, allocations: 366.8 kB / 432.6 MB, free: 18.8 MB / 330.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.001577/0.2002, allocations: 2.612 MB / 435.2 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.2008, allocations: 437 kB / 435.6 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2009, allocations: 125.8 kB / 435.8 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/0.2263, allocations: 17.57 MB / 453.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2263, allocations: 45.45 kB / 453.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.2263, allocations: 0 / 453.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002772/0.2291, allocations: 1.307 MB / 454.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.2291, allocations: 59.91 kB / 454.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.2293, allocations: 0.496 MB / 455.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2294, allocations: 36.7 kB / 455.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2295, allocations: 421.3 kB / 455.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.2296, allocations: 196.8 kB / 455.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.2297, allocations: 118.8 kB / 456 MB, free: 2.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.2297, allocations: 0.5398 MB / 456.5 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2299, allocations: 104.7 kB / 456.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.23, allocations: 224.9 kB / 456.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2304, allocations: 339.8 kB / 457.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2304, allocations: 4 kB / 457.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008447/0.2312, allocations: 0.6507 MB / 457.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2312, allocations: 8 kB / 457.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2312, allocations: 288 / 457.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.2323, allocations: 445.1 kB / 458.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2324, allocations: 62.88 kB / 458.3 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2338, allocations: 2.726 MB / 461.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.234, allocations: 58.45 kB / 461.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.2341, allocations: 27.61 kB / 461.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002225/0.2343, allocations: 224.9 kB / 461.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001747/0.2345, allocations: 203.8 kB / 461.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000307/0.2348, allocations: 307.9 kB / 461.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.2348, allocations: 0 / 461.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0007194/0.2355, allocations: 0.5664 MB / 462.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.2355, allocations: 4 kB / 462.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2355, allocations: 4 kB / 462.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.2358, allocations: 178.9 kB / 462.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.236, allocations: 94.14 kB / 462.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2395, allocations: 6.59 MB / 469.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2397, allocations: 39.73 kB / 469.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2397, allocations: 26.66 kB / 469.4 MB, free: 5.359 MB / 346.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 (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 (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 {(4,7), (4,7), (4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.2398, allocations: 298 kB / 469.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.2399, allocations: 87.58 kB / 469.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.241, allocations: 1.014 MB / 470.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.241, allocations: 11.98 kB / 470.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.241, allocations: 4 kB / 470.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.241, allocations: 3.984 kB / 470.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.2415, allocations: 0.5681 MB / 471.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2415, allocations: 0 / 471.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2417, allocations: 67.14 kB / 471.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/0.2423, allocations: 0.571 MB / 472 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.2423, allocations: 19.92 kB / 472 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.2439, allocations: 2.979 MB / 475 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2439, allocations: 0 / 475 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2451, allocations: 1.206 MB / 476.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2452, allocations: 131.2 kB / 476.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.2453, allocations: 12 kB / 476.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2454, allocations: 35.92 kB / 476.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.2455, allocations: 51.42 kB / 476.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.2455, allocations: 19.98 kB / 476.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.2457, allocations: 326.8 kB / 476.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2457, allocations: 0 / 476.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002729/0.2484, allocations: 1.197 MB / 477.9 MB, free: 12.64 MB / 362.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.002478/0.2509, allocations: 1.186 MB / 479.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.2522, allocations: 1.254 MB / 480.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2522, allocations: 0 / 480.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.2528, allocations: 412.8 kB / 480.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.2536, allocations: 298.8 kB / 481.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.2558, allocations: 1.703 MB / 482.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2559, allocations: 176.7 kB / 483 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002748/0.2562, allocations: 184.7 kB / 483.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.2562, allocations: 44.5 kB / 483.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2563, allocations: 0 / 483.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of Templates: time 0.04679/0.303, allocations: 49.46 MB / 0.5202 GB, free: 6.332 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: 5.243219858035445]