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.001466/0.001466, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001754/0.001754, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9102/0.9102, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.09164/0.09164, allocations: 19.73 MB / 281.5 MB, free: 9.352 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 1.482e-06/1.482e-06, allocations: 0 / 357.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.013e-05, allocations: 2.312 kB / 357.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.05307/0.05309, allocations: 80.46 MB / 438.4 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1496/0.2027, allocations: 11.27 MB / 449.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.2033, allocations: 30.31 kB / 449.7 MB, free: 45.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.2041, allocations: 405 kB / 450.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008239/0.2049, allocations: 0.5795 MB / 450.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009936/0.2148, allocations: 6.174 MB / 456.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.2162, allocations: 1.625 MB / 458.5 MB, free: 44.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.2166, allocations: 375.1 kB / 458.8 MB, free: 44.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000697/0.2173, allocations: 0.7487 MB / 459.6 MB, free: 44.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2177, allocations: 452.6 kB / 460 MB, free: 44.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.2178, allocations: 53.97 kB / 460.1 MB, free: 44.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007019/0.2248, allocations: 6.091 MB / 466.2 MB, free: 44.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.2249, allocations: 149.1 kB / 466.3 MB, free: 44.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.2253, allocations: 305.7 kB / 466.6 MB, free: 44.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.2315, allocations: 5.014 MB / 471.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2315, allocations: 0 / 471.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2315, allocations: 4 kB / 471.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.2315, allocations: 0 / 471.6 MB, free: 44.41 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002784/0.2343, allocations: 1.738 MB / 473.4 MB, free: 43.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2343, allocations: 10.91 kB / 473.4 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.2347, allocations: 218.3 kB / 473.6 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.2352, allocations: 0.5504 MB / 474.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2353, allocations: 278.7 kB / 474.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.2353, allocations: 52.69 kB / 474.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.2362, allocations: 0.6702 MB / 475.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2362, allocations: 3.375 kB / 475.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.2362, allocations: 26.38 kB / 475.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.2362, allocations: 13.28 kB / 475.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.237, allocations: 459 kB / 475.6 MB, free: 42.73 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.001662/0.2387, allocations: 2.693 MB / 478.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.2391, allocations: 273.3 kB / 478.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.2392, allocations: 61.95 kB / 478.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2393, allocations: 6.625 kB / 478.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2393, allocations: 40.38 kB / 478.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.365e-06/0.2393, allocations: 7.094 kB / 478.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001161/0.2404, allocations: 0.4936 MB / 479.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2405, allocations: 134.1 kB / 479.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.2408, allocations: 0.5458 MB / 479.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2409, allocations: 32.45 kB / 479.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.241, allocations: 450.1 kB / 480.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.2411, allocations: 84.97 kB / 480.4 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.2411, allocations: 66.62 kB / 480.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.2412, allocations: 0.5419 MB / 481 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.2413, allocations: 49.66 kB / 481.1 MB, free: 39.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2414, allocations: 95.27 kB / 481.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2416, allocations: 121.7 kB / 481.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2416, allocations: 0.5625 kB / 481.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000322/0.2419, allocations: 249.9 kB / 481.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2419, allocations: 3.594 kB / 481.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2419, allocations: 3 kB / 481.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.242, allocations: 4 kB / 481.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2422, allocations: 74.58 kB / 481.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2422, allocations: 0.7031 kB / 481.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2423, allocations: 18.33 kB / 481.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2423, allocations: 15.52 kB / 481.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001361/0.2425, allocations: 160.2 kB / 481.8 MB, free: 39.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001008/0.2426, allocations: 143.9 kB / 482 MB, free: 38.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001624/0.2427, allocations: 185 kB / 482.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.2427, allocations: 3.281 kB / 482.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002943/0.243, allocations: 252 kB / 482.4 MB, free: 38.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.243, allocations: 11.12 kB / 482.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.243, allocations: 2.938 kB / 482.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.243, allocations: 6.469 kB / 482.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2432, allocations: 70.2 kB / 482.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2432, allocations: 3.766 kB / 482.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2433, allocations: 17.28 kB / 482.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.2433, allocations: 14.45 kB / 482.5 MB, free: 38.77 MB / 410.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 7.818e-05/0.2434, allocations: 286.5 kB / 482.8 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.2435, allocations: 78.25 kB / 482.9 MB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.2438, allocations: 239 kB / 483.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2438, allocations: 3.734 kB / 483.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2438, allocations: 3.062 kB / 483.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2438, allocations: 1.172 kB / 483.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.2447, allocations: 1.254 MB / 484.4 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2448, allocations: 3.641 kB / 484.4 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.2448, allocations: 58.77 kB / 484.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2449, allocations: 7.312 kB / 484.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2449, allocations: 11.09 kB / 484.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2449, allocations: 7.453 kB / 484.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2449, allocations: 6.375 kB / 484.5 MB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.2452, allocations: 0.8064 MB / 485.3 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.2452, allocations: 65.05 kB / 485.3 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.2453, allocations: 10.88 kB / 485.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2455, allocations: 13.34 kB / 485.3 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2455, allocations: 41.12 kB / 485.4 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2455, allocations: 11.61 kB / 485.4 MB, free: 36.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000241/0.2458, allocations: 388.6 kB / 485.8 MB, free: 36.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2458, allocations: 0 / 485.8 MB, free: 36.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002129/0.2479, allocations: 1.131 MB / 486.9 MB, free: 36.55 MB / 410.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.002543/0.2504, allocations: 1.112 MB / 488 MB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.2509, allocations: 232 kB / 488.2 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2509, allocations: 1.062 kB / 488.2 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.251, allocations: 87.22 kB / 488.3 MB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2521, allocations: 377.2 kB / 488.7 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2535, allocations: 1.153 MB / 489.9 MB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.2536, allocations: 138.9 kB / 490 MB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007738/0.2544, allocations: 0.8266 MB / 490.8 MB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.2545, allocations: 59.47 kB / 490.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2545, allocations: 0 / 490.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of Templates: time 0.03344/0.2879, allocations: 38.94 MB / 0.5174 GB, free: 16.7 MB / 410.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.306700751883909]