Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.0008901/0.0008901, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001313/0.001313, allocations: 166.2 kB / 24.99 MB, free: 8.336 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.8516/0.8516, allocations: 158.6 MB / 186.8 MB, free: 2.859 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.1687/0.1687, allocations: 36.33 MB / 275.4 MB, free: 10.72 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 353.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.628e-05, allocations: 6.312 kB / 353.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.05565/0.05566, allocations: 72.86 MB / 426.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1412/0.1969, allocations: 11.77 MB / 438.4 MB, free: 17.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.1975, allocations: 32.72 kB / 438.4 MB, free: 17.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.1984, allocations: 381.7 kB / 438.8 MB, free: 17.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.1991, allocations: 0.5431 MB / 439.4 MB, free: 17.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009628/0.2088, allocations: 5.605 MB / 445 MB, free: 16.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.21, allocations: 1.428 MB / 446.4 MB, free: 16.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.2105, allocations: 0.5153 MB / 446.9 MB, free: 16.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008118/0.2113, allocations: 0.7565 MB / 447.7 MB, free: 16.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.2119, allocations: 0.5042 MB / 448.2 MB, free: 16.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.445e-05/0.212, allocations: 63.16 kB / 448.2 MB, free: 16.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007316/0.2193, allocations: 6.189 MB / 454.4 MB, free: 16.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2194, allocations: 173.3 kB / 454.6 MB, free: 16.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2197, allocations: 321.8 kB / 454.9 MB, free: 16.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.2254, allocations: 5.158 MB / 460.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2254, allocations: 0 / 460.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2254, allocations: 1.781 kB / 460.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.2254, allocations: 0 / 460.1 MB, free: 15.46 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003748/0.2292, allocations: 1.661 MB / 461.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2292, allocations: 8.438 kB / 461.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.2297, allocations: 221.3 kB / 462 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.2302, allocations: 0.5399 MB / 462.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2302, allocations: 36.72 kB / 462.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.2303, allocations: 52.09 kB / 462.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.2312, allocations: 0.7716 MB / 463.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2312, allocations: 384 / 463.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.2313, allocations: 26.06 kB / 463.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2313, allocations: 12.81 kB / 463.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.2321, allocations: 0.5916 MB / 464 MB, free: 13.46 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.00168/0.2338, allocations: 2.624 MB / 466.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.2343, allocations: 278.5 kB / 466.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.2344, allocations: 105.8 kB / 467 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02665/0.2611, allocations: 16.8 MB / 483.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2611, allocations: 44.83 kB / 483.8 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003354/0.2614, allocations: 101.5 kB / 483.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.2614, allocations: 4 kB / 483.9 MB, free: 1.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003787/0.2652, allocations: 1.41 MB / 485.3 MB, free: 248 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.2652, allocations: 55.41 kB / 485.4 MB, free: 180 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.2656, allocations: 0.5091 MB / 485.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2656, allocations: 30.39 kB / 485.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2658, allocations: 410.2 kB / 486.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.2659, allocations: 109.7 kB / 486.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.266, allocations: 91.78 kB / 486.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2661, allocations: 0.5359 MB / 487.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2663, allocations: 79.64 kB / 487.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.2664, allocations: 141.5 kB / 487.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.2667, allocations: 238 kB / 487.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2667, allocations: 0 / 487.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006631/0.2674, allocations: 449.2 kB / 488 MB, free: 13.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2674, allocations: 8.031 kB / 488 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2674, allocations: 0 / 488 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/0.2708, allocations: 1.035 MB / 489 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.2709, allocations: 42.17 kB / 489 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.2719, allocations: 1.104 MB / 490.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2721, allocations: 23.3 kB / 490.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2722, allocations: 23.67 kB / 490.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001867/0.2723, allocations: 197.5 kB / 490.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001497/0.2725, allocations: 175.5 kB / 490.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002651/0.2728, allocations: 247.2 kB / 490.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.2728, allocations: 2.891 kB / 490.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005198/0.2733, allocations: 380.5 kB / 491.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.2733, allocations: 11.94 kB / 491.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.2733, allocations: 0 / 491.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.2735, allocations: 73.64 kB / 491.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2737, allocations: 84.81 kB / 491.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009887/0.2747, allocations: 1.852 MB / 493.2 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2749, allocations: 19.61 kB / 493.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.2749, allocations: 19.05 kB / 493.2 MB, free: 8.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.275, allocations: 285.9 kB / 493.5 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.2751, allocations: 71.31 kB / 493.6 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.2763, allocations: 1.221 MB / 494.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.2763, allocations: 27.12 kB / 494.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.2763, allocations: 0 / 494.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2763, allocations: 3.938 kB / 494.8 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.2768, allocations: 0.6317 MB / 495.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2768, allocations: 3.938 kB / 495.5 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.2769, allocations: 25.36 kB / 495.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.2785, allocations: 1.169 MB / 496.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2785, allocations: 10.12 kB / 496.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.2797, allocations: 1.642 MB / 498.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2797, allocations: 4 kB / 498.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.2806, allocations: 1.165 MB / 499.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.2807, allocations: 98.81 kB / 499.6 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.2807, allocations: 16.7 kB / 499.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2809, allocations: 19.42 kB / 499.6 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.281, allocations: 38.98 kB / 499.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.281, allocations: 13.56 kB / 499.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002248/0.2812, allocations: 343.8 kB / 500 MB, free: 2.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2812, allocations: 0 / 500 MB, free: 2.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00229/0.2835, allocations: 1.13 MB / 0.4894 GB, free: 1.551 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/0.2858, allocations: 1.129 MB / 0.4905 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.287, allocations: 0.6846 MB / 0.4912 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.287, allocations: 128 / 0.4912 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.2873, allocations: 322.8 kB / 0.4915 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/0.2882, allocations: 320.1 kB / 0.4918 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.29, allocations: 1.503 MB / 0.4932 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.2902, allocations: 184.6 kB / 0.4934 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.2905, allocations: 250.5 kB / 0.4936 GB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2905, allocations: 43.05 kB / 0.4937 GB, free: 13.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2905, allocations: 4 kB / 0.4937 GB, free: 13.43 MB / 394.7 MB Notification: Performance of Templates: time 0.04/0.3305, allocations: 42.01 MB / 0.5347 GB, free: 3.59 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.070412861881778]