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.0009453/0.0009453, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.0009891/0.0009891, allocations: 160.5 kB / 24.99 MB, free: 9.277 MB / 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.8049/0.8049, allocations: 158.6 MB / 186.8 MB, free: 2.93 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.1559/0.1559, allocations: 36.33 MB / 275.4 MB, free: 10.73 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.653e-06/1.653e-06, allocations: 0 / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.184e-05, allocations: 5.688 kB / 353.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.05134/0.05136, allocations: 79.8 MB / 433.6 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1381/0.1894, allocations: 10.95 MB / 444.5 MB, free: 17.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.1899, allocations: 31.78 kB / 444.6 MB, free: 17.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.1907, allocations: 383.8 kB / 444.9 MB, free: 17.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.1915, allocations: 0.5386 MB / 445.5 MB, free: 17.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.2013, allocations: 5.923 MB / 451.4 MB, free: 16.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.2024, allocations: 1.43 MB / 452.8 MB, free: 16.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.2027, allocations: 348.9 kB / 453.2 MB, free: 16.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.2032, allocations: 0.6805 MB / 453.9 MB, free: 16.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.2036, allocations: 413 kB / 454.3 MB, free: 16.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.2036, allocations: 45.41 kB / 454.3 MB, free: 16.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.2099, allocations: 6.065 MB / 460.4 MB, free: 16.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.2099, allocations: 127.3 kB / 460.5 MB, free: 16.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2101, allocations: 275.5 kB / 460.8 MB, free: 16.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.2138, allocations: 4.923 MB / 465.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2138, allocations: 0 / 465.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2138, allocations: 4 kB / 465.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2138, allocations: 0 / 465.7 MB, free: 14.81 MB / 362.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.001792/0.2156, allocations: 1.545 MB / 467.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2157, allocations: 9 kB / 467.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.216, allocations: 189.1 kB / 467.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.2164, allocations: 494.7 kB / 467.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2164, allocations: 34.12 kB / 467.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.2165, allocations: 51.03 kB / 468 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.217, allocations: 0.5805 MB / 468.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.217, allocations: 3.719 kB / 468.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.217, allocations: 31.69 kB / 468.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2171, allocations: 12.16 kB / 468.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.2174, allocations: 272.7 kB / 468.9 MB, free: 13.01 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.001299/0.2187, allocations: 3.557 MB / 472.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.219, allocations: 198.5 kB / 472.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.219, allocations: 51.98 kB / 472.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02606/0.2451, allocations: 16.82 MB / 489.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2451, allocations: 40.48 kB / 489.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.2451, allocations: 0 / 489.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009786/0.2461, allocations: 319.1 kB / 489.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2462, allocations: 131.9 kB / 490 MB, free: 14.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.2465, allocations: 0.5101 MB / 490.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2465, allocations: 28.02 kB / 490.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.2467, allocations: 431.7 kB / 490.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2467, allocations: 45.27 kB / 491 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.2468, allocations: 52.86 kB / 491 MB, free: 14.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2469, allocations: 0.5336 MB / 491.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.247, allocations: 35.22 kB / 491.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2471, allocations: 139.5 kB / 491.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2473, allocations: 178.2 kB / 491.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2473, allocations: 4 kB / 491.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002756/0.2475, allocations: 227.3 kB / 492.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2476, allocations: 4 kB / 492.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2476, allocations: 11.92 kB / 492.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2476, allocations: 4 kB / 492.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.2478, allocations: 55.81 kB / 492.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2478, allocations: 8.234 kB / 492.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.2479, allocations: 19.58 kB / 492.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2479, allocations: 12 kB / 492.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001133/0.248, allocations: 157.4 kB / 492.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001101/0.2481, allocations: 213 kB / 492.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001751/0.2483, allocations: 274.3 kB / 492.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2483, allocations: 4 kB / 492.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002427/0.2486, allocations: 245.1 kB / 493.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.2486, allocations: 8 kB / 493.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2486, allocations: 4 kB / 493.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.2486, allocations: 11.94 kB / 493.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2487, allocations: 54.47 kB / 493.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2487, allocations: 9.688 kB / 493.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2488, allocations: 16.38 kB / 493.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2488, allocations: 15.62 kB / 493.2 MB, free: 11.76 MB / 378.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 9.388e-05/0.2489, allocations: 291 kB / 493.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.249, allocations: 63.56 kB / 493.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.2493, allocations: 353.3 kB / 493.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2493, allocations: 4 kB / 493.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2493, allocations: 0 / 493.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2493, allocations: 4 kB / 493.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2498, allocations: 473.4 kB / 494.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2498, allocations: 0 / 494.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.2498, allocations: 27.27 kB / 494.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2498, allocations: 0 / 494.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2498, allocations: 11.67 kB / 494.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2498, allocations: 3.938 kB / 494.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2498, allocations: 0 / 494.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.2501, allocations: 0.6459 MB / 495.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.2501, allocations: 43.62 kB / 495.1 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2502, allocations: 39.09 kB / 495.2 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2503, allocations: 6.875 kB / 495.2 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.2503, allocations: 11.67 kB / 495.2 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2504, allocations: 7.938 kB / 495.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003701/0.2507, allocations: 0.5145 MB / 495.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2507, allocations: 0 / 495.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001773/0.2525, allocations: 1.101 MB / 496.8 MB, free: 8.449 MB / 378.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.002402/0.2549, allocations: 1.099 MB / 497.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2551, allocations: 168.3 kB / 498.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2551, allocations: 4.562 kB / 498.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.2552, allocations: 34.83 kB / 498.1 MB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.2561, allocations: 300.6 kB / 498.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2574, allocations: 1.088 MB / 499.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.2575, allocations: 140 kB / 499.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.2577, allocations: 268.8 kB / 499.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.2578, allocations: 44.11 kB / 499.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2578, allocations: 0 / 499.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of Templates: time 0.03332/0.2911, allocations: 36.99 MB / 0.5243 GB, free: 0.6289 MB / 410.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.055058503057808]