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.0008576/0.0008576, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00339/0.00339, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8888/0.8888, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.1959/0.1959, allocations: 36.34 MB / 275.1 MB, free: 10.89 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.553e-06/1.553e-06, allocations: 0 / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.151e-05, allocations: 6.281 kB / 415.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2194/0.2194, allocations: 70.52 MB / 486.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009411/0.2288, allocations: 9.892 MB / 496 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.2292, allocations: 35.69 kB / 496 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.2301, allocations: 385 kB / 496.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.2309, allocations: 0.5351 MB / 497 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.241, allocations: 5.905 MB / 0.4911 GB, free: 5.895 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2423, allocations: 1.446 MB / 0.4925 GB, free: 4.441 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.2427, allocations: 337.8 kB / 0.4928 GB, free: 4.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.2433, allocations: 0.6739 MB / 0.4935 GB, free: 3.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.2437, allocations: 406.7 kB / 0.4939 GB, free: 3.023 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.2438, allocations: 44 kB / 0.4939 GB, free: 2.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007273/0.2511, allocations: 6.075 MB / 0.4998 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.2512, allocations: 131.3 kB / 0.5 GB, free: 12.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2514, allocations: 271.3 kB / 0.5002 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.2575, allocations: 5.09 MB / 0.5052 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2575, allocations: 0 / 0.5052 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2575, allocations: 0 / 0.5052 GB, free: 7.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2575, allocations: 0 / 0.5052 GB, free: 7.402 MB / 410.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.001796/0.2593, allocations: 1.436 MB / 0.5066 GB, free: 5.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2593, allocations: 12.03 kB / 0.5066 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.2595, allocations: 120.3 kB / 0.5067 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.26, allocations: 465.2 kB / 0.5072 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.26, allocations: 44.94 kB / 0.5072 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.2601, allocations: 51 kB / 0.5072 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.2607, allocations: 0.6171 MB / 0.5078 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2607, allocations: 384 / 0.5078 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.2607, allocations: 27.94 kB / 0.5079 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2608, allocations: 12 kB / 0.5079 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.2612, allocations: 355.5 kB / 0.5082 GB, free: 4.16 MB / 410.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.001574/0.2628, allocations: 2.616 MB / 0.5108 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.263, allocations: 190.4 kB / 0.511 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.2631, allocations: 51.52 kB / 0.511 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/0.29, allocations: 16.8 MB / 0.5274 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.29, allocations: 42.5 kB / 0.5275 GB, free: 288 kB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.29, allocations: 0 / 0.5275 GB, free: 288 kB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006798/0.2907, allocations: 344.9 kB / 0.5278 GB, free: 15.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.2907, allocations: 136.5 kB / 0.5279 GB, free: 15.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.2911, allocations: 495.1 kB / 0.5284 GB, free: 15.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2911, allocations: 29.7 kB / 0.5284 GB, free: 15.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2913, allocations: 384 kB / 0.5288 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2913, allocations: 43.58 kB / 0.5288 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2914, allocations: 53.69 kB / 0.5289 GB, free: 14.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.2915, allocations: 358.8 kB / 0.5292 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.2915, allocations: 52.84 kB / 0.5293 GB, free: 14.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.2916, allocations: 133.9 kB / 0.5294 GB, free: 14.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.2918, allocations: 198.9 kB / 0.5296 GB, free: 13.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2918, allocations: 0 / 0.5296 GB, free: 13.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002869/0.2921, allocations: 265 kB / 0.5298 GB, free: 13.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2921, allocations: 8 kB / 0.5299 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2922, allocations: 8.188 kB / 0.5299 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2922, allocations: 8 kB / 0.5299 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2923, allocations: 59.83 kB / 0.5299 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2923, allocations: 4 kB / 0.5299 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2925, allocations: 15.89 kB / 0.5299 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2925, allocations: 15.98 kB / 0.53 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001435/0.2927, allocations: 164.1 kB / 0.5301 GB, free: 13.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001055/0.2928, allocations: 175.7 kB / 0.5303 GB, free: 13.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001783/0.2929, allocations: 239.4 kB / 0.5305 GB, free: 12.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.2929, allocations: 4 kB / 0.5305 GB, free: 12.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002515/0.2932, allocations: 272.8 kB / 0.5308 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.2932, allocations: 8 kB / 0.5308 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.2932, allocations: 4.719 kB / 0.5308 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.2932, allocations: 15.88 kB / 0.5308 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2933, allocations: 55.91 kB / 0.5309 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2933, allocations: 15.92 kB / 0.5309 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2934, allocations: 19.89 kB / 0.5309 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2935, allocations: 16 kB / 0.5309 GB, free: 12.45 MB / 442.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 8.108e-05/0.2935, allocations: 184.3 kB / 0.5311 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.2936, allocations: 55.61 kB / 0.5311 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.294, allocations: 0.5241 MB / 0.5316 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.294, allocations: 8.078 kB / 0.5317 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.294, allocations: 0 / 0.5317 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.294, allocations: 11.98 kB / 0.5317 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.2944, allocations: 469.5 kB / 0.5321 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2944, allocations: 7.938 kB / 0.5321 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.2945, allocations: 27.92 kB / 0.5321 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2945, allocations: 0 / 0.5321 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2945, allocations: 0 / 0.5321 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2945, allocations: 12.8 kB / 0.5322 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2945, allocations: 0 / 0.5322 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.295, allocations: 484.8 kB / 0.5326 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.295, allocations: 51.56 kB / 0.5327 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.2951, allocations: 35.67 kB / 0.5327 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2952, allocations: 7.938 kB / 0.5327 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.2953, allocations: 15.97 kB / 0.5327 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2953, allocations: 5.25 kB / 0.5327 GB, free: 10.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.2957, allocations: 0.5576 MB / 0.5333 GB, free: 9.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2957, allocations: 0 / 0.5333 GB, free: 9.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001771/0.2975, allocations: 1.107 MB / 0.5344 GB, free: 8.848 MB / 442.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.002193/0.2996, allocations: 1.098 MB / 0.5354 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.2999, allocations: 209 kB / 0.5356 GB, free: 7.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2999, allocations: 0 / 0.5356 GB, free: 7.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.2999, allocations: 31.92 kB / 0.5357 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.3008, allocations: 265.9 kB / 0.5359 GB, free: 7.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.302, allocations: 1.106 MB / 0.537 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3023, allocations: 347.6 kB / 0.5373 GB, free: 5.727 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.3023, allocations: 40.48 kB / 0.5374 GB, free: 5.688 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3023, allocations: 0 / 0.5374 GB, free: 5.688 MB / 442.7 MB Notification: Performance of Templates: time 0.01972/0.322, allocations: 22.97 MB / 0.5598 GB, free: 14.68 MB / 474.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.171424298547208] Failed to read output from testmodel.py, exit status != 0: 0.32820544950664043 0.33545524600000004 0.076375334 Calling exit ...