Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.001537/0.001537, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001617/0.001617, allocations: 161.7 kB / 24.27 MB, free: 176 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 1.391/1.391, allocations: 158.6 MB / 186.1 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.3099/0.3099, allocations: 36.34 MB / 274.7 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 179] 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 353.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.355e-05, allocations: 6.312 kB / 353.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.05508/0.0551, allocations: 40.34 MB / 393.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.06955, allocations: 8.226 MB / 401.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.07001, allocations: 15.88 kB / 401.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.07076, allocations: 198.5 kB / 401.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000722/0.07148, allocations: 297.7 kB / 402.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.08699, allocations: 5.062 MB / 407.2 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.08841, allocations: 0.8288 MB / 408 MB, free: 1.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.08883, allocations: 226.9 kB / 408.2 MB, free: 1.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.08982, allocations: 0.4944 MB / 408.7 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.09024, allocations: 251.3 kB / 409 MB, free: 368 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.0903, allocations: 28 kB / 409 MB, free: 340 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.1042, allocations: 5.887 MB / 414.9 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1043, allocations: 87.59 kB / 415 MB, free: 10.35 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.1047, allocations: 171.6 kB / 415.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009134/0.1138, allocations: 4.669 MB / 419.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1139, allocations: 0 / 419.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.1139, allocations: 4 kB / 419.8 MB, free: 5.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1139, allocations: 0 / 419.8 MB, free: 5.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00322/0.1171, allocations: 1.122 MB / 421 MB, free: 4.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1171, allocations: 15.97 kB / 421 MB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/0.1176, allocations: 112.4 kB / 421.1 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.1183, allocations: 334.4 kB / 421.4 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.1183, allocations: 25.03 kB / 421.4 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.1184, allocations: 32.38 kB / 421.5 MB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1195, allocations: 427 kB / 421.9 MB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1195, allocations: 192 / 421.9 MB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.1195, allocations: 19.92 kB / 421.9 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1196, allocations: 8 kB / 421.9 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.1209, allocations: 363.6 kB / 422.3 MB, free: 2.973 MB / 394.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.002404/0.1233, allocations: 1.529 MB / 423.8 MB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.1246, allocations: 289.1 kB / 424.1 MB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.125, allocations: 97.66 kB / 424.2 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06132/0.1863, allocations: 16.87 MB / 441 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1864, allocations: 30.56 kB / 441.1 MB, free: 44 kB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.1864, allocations: 0 / 441.1 MB, free: 44 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00199/0.1884, allocations: 429.2 kB / 441.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.1885, allocations: 81.11 kB / 441.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1889, allocations: 345.6 kB / 441.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.189, allocations: 25.7 kB / 441.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.1892, allocations: 244.4 kB / 442.2 MB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.1893, allocations: 59.48 kB / 442.2 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1894, allocations: 49.69 kB / 442.3 MB, free: 14.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.1896, allocations: 342.8 kB / 442.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.1902, allocations: 104.8 kB / 442.7 MB, free: 14.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.1906, allocations: 163.5 kB / 442.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.1915, allocations: 259.4 kB / 443.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1915, allocations: 0 / 443.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001046/0.1925, allocations: 333 kB / 443.4 MB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1925, allocations: 8 kB / 443.5 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1926, allocations: 4 kB / 443.5 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1926, allocations: 224 / 443.5 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.193, allocations: 75.81 kB / 443.5 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.193, allocations: 4 kB / 443.5 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.1933, allocations: 31.88 kB / 443.6 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.1934, allocations: 15.98 kB / 443.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004938/0.1938, allocations: 192.1 kB / 443.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004165/0.1943, allocations: 161.3 kB / 443.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000768/0.195, allocations: 257.5 kB / 444.2 MB, free: 12.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.195, allocations: 4 kB / 444.2 MB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009745/0.196, allocations: 317.1 kB / 444.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.196, allocations: 8 kB / 444.5 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.196, allocations: 0 / 444.5 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.196, allocations: 4 kB / 444.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.1964, allocations: 72.05 kB / 444.6 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1964, allocations: 4 kB / 444.6 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.1967, allocations: 35.86 kB / 444.6 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1967, allocations: 8 kB / 444.6 MB, free: 12.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001661/0.1969, allocations: 200.1 kB / 444.8 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.197, allocations: 43.75 kB / 444.9 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.1982, allocations: 476.2 kB / 445.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1982, allocations: 4 kB / 445.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1982, allocations: 0 / 445.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1982, allocations: 4 kB / 445.3 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.1988, allocations: 336.9 kB / 445.7 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1988, allocations: 0 / 445.7 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.1991, allocations: 59.83 kB / 445.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1991, allocations: 4 kB / 445.7 MB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1991, allocations: 3.984 kB / 445.7 MB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.1991, allocations: 7.984 kB / 445.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1991, allocations: 0 / 445.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.2001, allocations: 450.3 kB / 446.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.2002, allocations: 39.69 kB / 446.2 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.2003, allocations: 15.89 kB / 446.2 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.2006, allocations: 27.97 kB / 446.3 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.2007, allocations: 11.98 kB / 446.3 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2007, allocations: 11.92 kB / 446.3 MB, free: 10.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.2011, allocations: 342.9 kB / 446.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2011, allocations: 0 / 446.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00279/0.2039, allocations: 0.9628 MB / 447.6 MB, free: 9.258 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.003624/0.2075, allocations: 1.071 MB / 448.6 MB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.2089, allocations: 340 kB / 449 MB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2089, allocations: 3.938 kB / 449 MB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.2093, allocations: 108.3 kB / 449.1 MB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2104, allocations: 190.8 kB / 449.3 MB, free: 7.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2122, allocations: 0.7613 MB / 450 MB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2124, allocations: 225.1 kB / 450.3 MB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.2128, allocations: 146.7 kB / 450.4 MB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2129, allocations: 40.48 kB / 450.4 MB, free: 6.324 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2129, allocations: 0 / 450.4 MB, free: 6.324 MB / 426.7 MB Notification: Performance of Templates: time 0.1912/0.4041, allocations: 33.21 MB / 483.7 MB, free: 153.9 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.196434893994592]