Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001135/0.001135, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001209/0.001209, 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 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9659/0.9659, allocations: 158.6 MB / 186.4 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1971/0.1971, allocations: 36.34 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.907e-05, allocations: 2.312 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.03137/0.0314, allocations: 35.71 MB / 389.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008822/0.04022, allocations: 8.655 MB / 398.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.04066, allocations: 35.62 kB / 398.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.04129, allocations: 257.9 kB / 398.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006966/0.04198, allocations: 0.539 MB / 399 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.05286, allocations: 5.575 MB / 404.6 MB, free: 472 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.05407, allocations: 1.442 MB / 406 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.05446, allocations: 350 kB / 406.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.05503, allocations: 0.6663 MB / 407 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.05542, allocations: 406.7 kB / 407.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.05548, allocations: 44 kB / 407.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007275/0.06275, allocations: 5.847 MB / 413.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.06286, allocations: 127.3 kB / 413.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.06311, allocations: 279.3 kB / 413.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.06872, allocations: 4.688 MB / 418.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.06872, allocations: 0 / 418.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.06873, allocations: 4 kB / 418.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.06873, allocations: 0 / 418.4 MB, free: 2.594 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002019/0.07075, allocations: 1.486 MB / 419.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.07079, allocations: 8.031 kB / 419.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.07109, allocations: 196.1 kB / 420.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.07158, allocations: 488 kB / 420.6 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.07161, allocations: 37.38 kB / 420.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.07165, allocations: 48.38 kB / 420.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.07226, allocations: 0.5825 MB / 421.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.07228, allocations: 4.188 kB / 421.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.07231, allocations: 27.94 kB / 421.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.07232, allocations: 12 kB / 421.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.07272, allocations: 275.3 kB / 421.5 MB, free: 15.29 MB / 362.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.002024/0.07474, allocations: 3.548 MB / 425.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.07499, allocations: 196.3 kB / 425.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.07504, allocations: 50.83 kB / 425.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.17/0.245, allocations: 16.79 MB / 442.1 MB, free: 68.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.2451, allocations: 39.86 kB / 442.2 MB, free: 68.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.377e-06/0.2451, allocations: 3.938 kB / 442.2 MB, free: 68.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007882/0.2459, allocations: 318.4 kB / 442.5 MB, free: 68.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2459, allocations: 136.3 kB / 442.6 MB, free: 68.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.2462, allocations: 0.5127 MB / 443.1 MB, free: 68.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2462, allocations: 25.7 kB / 443.1 MB, free: 68.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.2464, allocations: 431.3 kB / 443.6 MB, free: 68.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.2464, allocations: 46.97 kB / 443.6 MB, free: 68.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.2465, allocations: 56.75 kB / 443.7 MB, free: 68.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.2465, allocations: 0.5295 MB / 444.2 MB, free: 67.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.2466, allocations: 33.48 kB / 444.2 MB, free: 67.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.2467, allocations: 142.4 kB / 444.4 MB, free: 67.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2469, allocations: 182.6 kB / 444.5 MB, free: 67.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2469, allocations: 0 / 444.5 MB, free: 67.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002655/0.2471, allocations: 230.9 kB / 444.8 MB, free: 67.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2471, allocations: 7.906 kB / 444.8 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2471, allocations: 3.562 kB / 444.8 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2472, allocations: 3.125 kB / 444.8 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2473, allocations: 54.55 kB / 444.8 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2473, allocations: 8.531 kB / 444.9 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2475, allocations: 20.77 kB / 444.9 MB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2475, allocations: 10.38 kB / 444.9 MB, free: 67.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.369e-05/0.2476, allocations: 150.1 kB / 445 MB, free: 67.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.534e-05/0.2477, allocations: 224.3 kB / 445.2 MB, free: 67.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001328/0.2478, allocations: 276.8 kB / 445.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.2478, allocations: 2.5 kB / 445.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002194/0.248, allocations: 238.2 kB / 445.8 MB, free: 66.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.248, allocations: 12.66 kB / 445.8 MB, free: 66.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2481, allocations: 6.969 kB / 445.8 MB, free: 66.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/0.2481, allocations: 12.02 kB / 445.8 MB, free: 66.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2482, allocations: 49.48 kB / 445.8 MB, free: 66.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.2482, allocations: 9.625 kB / 445.8 MB, free: 66.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.2483, allocations: 19.16 kB / 445.9 MB, free: 66.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2483, allocations: 20.25 kB / 445.9 MB, free: 66.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.2484, allocations: 283.5 kB / 446.2 MB, free: 66.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.2485, allocations: 61.09 kB / 446.2 MB, free: 66.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.2487, allocations: 359.2 kB / 446.6 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2487, allocations: 1.312 kB / 446.6 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2487, allocations: 3.188 kB / 446.6 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2487, allocations: 0 / 446.6 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.2491, allocations: 472.7 kB / 447 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2491, allocations: 0 / 447 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.2492, allocations: 24.34 kB / 447.1 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2492, allocations: 3.562 kB / 447.1 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2492, allocations: 3.844 kB / 447.1 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2492, allocations: 0 / 447.1 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2492, allocations: 0 / 447.1 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2494, allocations: 0.6523 MB / 447.7 MB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2494, allocations: 56.28 kB / 447.8 MB, free: 65.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.2495, allocations: 34.28 kB / 447.8 MB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2496, allocations: 3.781 kB / 447.8 MB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.2497, allocations: 10.95 kB / 447.8 MB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2497, allocations: 2.812 kB / 447.8 MB, free: 65.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.25, allocations: 0.5079 MB / 448.3 MB, free: 65.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.25, allocations: 0 / 448.3 MB, free: 65.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002043/0.252, allocations: 1.108 MB / 449.4 MB, free: 65.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/0.2541, allocations: 1.069 MB / 450.5 MB, free: 65.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.2544, allocations: 172.2 kB / 450.7 MB, free: 65.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2544, allocations: 0 / 450.7 MB, free: 65.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.2544, allocations: 46.73 kB / 450.7 MB, free: 65.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.2553, allocations: 304.3 kB / 451 MB, free: 65.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2568, allocations: 1.084 MB / 452.1 MB, free: 64.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.2569, allocations: 134.6 kB / 452.2 MB, free: 64.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000302/0.2572, allocations: 253.5 kB / 452.5 MB, free: 64.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.2572, allocations: 48.59 kB / 452.5 MB, free: 64.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2572, allocations: 0 / 452.5 MB, free: 64.34 MB / 362.7 MB Notification: Performance of Templates: time 0.02922/0.2865, allocations: 36.69 MB / 489.2 MB, free: 31.22 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5455786981619895]