Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001462/0.001462, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001547/0.001547, allocations: 161.7 kB / 24.27 MB, free: 172 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.458/1.458, allocations: 177.1 MB / 204.6 MB, free: 5.57 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.1475/0.1475, allocations: 19.73 MB / 280.8 MB, free: 9.262 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.079e-06/5.079e-06, allocations: 4 kB / 357.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/3.196e-05, allocations: 6.25 kB / 357.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2132/0.2132, allocations: 71.08 MB / 428.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2249, allocations: 10.24 MB / 438.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006176/0.2255, allocations: 32.28 kB / 438.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.2264, allocations: 399.9 kB / 439 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009566/0.2274, allocations: 0.5813 MB / 439.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.2413, allocations: 6.167 MB / 445.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.243, allocations: 1.621 MB / 447.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.2435, allocations: 380.5 kB / 447.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.2442, allocations: 0.7456 MB / 448.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.2448, allocations: 450.1 kB / 448.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.2448, allocations: 51.56 kB / 448.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009961/0.2548, allocations: 6.088 MB / 455 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.255, allocations: 152.5 kB / 455.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.2555, allocations: 305.6 kB / 455.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.2642, allocations: 5.193 MB / 460.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2642, allocations: 0 / 460.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2642, allocations: 0 / 460.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2642, allocations: 0 / 460.7 MB, free: 5.379 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003397/0.2676, allocations: 1.641 MB / 462.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2676, allocations: 8.031 kB / 462.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.2681, allocations: 220.1 kB / 462.5 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.2688, allocations: 0.5526 MB / 463.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.269, allocations: 283.5 kB / 463.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.269, allocations: 48.38 kB / 463.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.2704, allocations: 0.7277 MB / 464.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2705, allocations: 3.938 kB / 464.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.2705, allocations: 31.92 kB / 464.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2705, allocations: 12 kB / 464.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2718, allocations: 0.6127 MB / 464.8 MB, free: 1.137 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.002825/0.2746, allocations: 2.17 MB / 467 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.2756, allocations: 286.3 kB / 467.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.2759, allocations: 91.53 kB / 467.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.2759, allocations: 7.984 kB / 467.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.276, allocations: 38.56 kB / 467.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.276, allocations: 0 / 467.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00232/0.2783, allocations: 0.5953 MB / 468 MB, free: 13.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2784, allocations: 140.5 kB / 468.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.2791, allocations: 0.5275 MB / 468.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.2791, allocations: 29.7 kB / 468.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.2795, allocations: 400 kB / 469 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2796, allocations: 94.23 kB / 469.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2797, allocations: 57.69 kB / 469.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.28, allocations: 374.7 kB / 469.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2802, allocations: 92.5 kB / 469.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.2805, allocations: 123.9 kB / 469.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.2811, allocations: 189.7 kB / 470 MB, free: 11.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2811, allocations: 4 kB / 470 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008151/0.2819, allocations: 322.4 kB / 470.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2819, allocations: 11.98 kB / 470.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2819, allocations: 0 / 470.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.282, allocations: 8 kB / 470.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.2824, allocations: 67.89 kB / 470.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2824, allocations: 4 kB / 470.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.2828, allocations: 19.88 kB / 470.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.2828, allocations: 15.98 kB / 470.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004098/0.2832, allocations: 200.1 kB / 470.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003097/0.2835, allocations: 153.6 kB / 470.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005125/0.284, allocations: 216.2 kB / 471 MB, free: 10.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.284, allocations: 3.938 kB / 471 MB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0007497/0.2848, allocations: 325.2 kB / 471.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.2848, allocations: 7.938 kB / 471.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2848, allocations: 4 kB / 471.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.2848, allocations: 8.203 kB / 471.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.2852, allocations: 71.89 kB / 471.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2852, allocations: 11.92 kB / 471.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.2855, allocations: 19.89 kB / 471.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.2855, allocations: 11.98 kB / 471.4 MB, free: 10.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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 0.0001721/0.2857, allocations: 200.2 kB / 471.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.2859, allocations: 79.52 kB / 471.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.2866, allocations: 287.8 kB / 472 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2866, allocations: 4 kB / 472 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2866, allocations: 4 kB / 472 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2866, allocations: 4 kB / 472 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2889, allocations: 1.112 MB / 473.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.2889, allocations: 4 kB / 473.1 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2891, allocations: 55.91 kB / 473.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.2891, allocations: 7.938 kB / 473.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.2892, allocations: 16.36 kB / 473.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.2892, allocations: 11.94 kB / 473.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2892, allocations: 4 kB / 473.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.2901, allocations: 0.641 MB / 473.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.2902, allocations: 67.5 kB / 473.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.2903, allocations: 7.938 kB / 473.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.2906, allocations: 15.92 kB / 473.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.2907, allocations: 39.84 kB / 474 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.2908, allocations: 15.98 kB / 474 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005159/0.2913, allocations: 395.1 kB / 474.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2913, allocations: 0 / 474.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00317/0.2944, allocations: 1.13 MB / 475.5 MB, free: 6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (24): * Single equations (assignments): 24 * 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.003777/0.2982, allocations: 1.117 MB / 476.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009074/0.2991, allocations: 304.9 kB / 476.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2991, allocations: 4 kB / 476.9 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.2994, allocations: 92.58 kB / 477 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.3016, allocations: 374 kB / 477.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3035, allocations: 1.127 MB / 478.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3039, allocations: 326 kB / 478.8 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001509/0.3054, allocations: 0.8386 MB / 479.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3055, allocations: 52.48 kB / 479.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3055, allocations: 4 kB / 479.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of Templates: time 0.06315/0.3687, allocations: 38.17 MB / 0.5057 GB, free: 11.8 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1948966479394585]