Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001894/0.001894, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001958/0.001958, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.1496/0.1496, allocations: 19.73 MB / 280.8 MB, free: 9.316 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.911e-05, allocations: 2.312 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.06568/0.06571, allocations: 43.36 MB / 400.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.08121, allocations: 9.959 MB / 410.5 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.08161, allocations: 19.81 kB / 410.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.08236, allocations: 222.3 kB / 410.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.08312, allocations: 349.3 kB / 411.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1523/0.2354, allocations: 4.942 MB / 416 MB, free: 17.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2366, allocations: 0.9286 MB / 417 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.2369, allocations: 234.1 kB / 417.2 MB, free: 17.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.2375, allocations: 454.7 kB / 417.6 MB, free: 17.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.2378, allocations: 277.8 kB / 417.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.2379, allocations: 32.97 kB / 418 MB, free: 17.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/0.2487, allocations: 5.986 MB / 423.9 MB, free: 17.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2489, allocations: 95.38 kB / 424 MB, free: 17.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.2492, allocations: 193.5 kB / 424.2 MB, free: 17.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008079/0.2573, allocations: 4.825 MB / 429 MB, free: 16.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2573, allocations: 0 / 429 MB, free: 16.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2573, allocations: 0 / 429 MB, free: 16.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2573, allocations: 3.625 kB / 429 MB, free: 16.61 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003175/0.2605, allocations: 1.398 MB / 430.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2605, allocations: 7.156 kB / 430.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.2609, allocations: 139.9 kB / 430.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.2613, allocations: 394.4 kB / 431 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2615, allocations: 204.1 kB / 431.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.2615, allocations: 34 kB / 431.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.2624, allocations: 493.2 kB / 431.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2624, allocations: 7.984 kB / 431.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2625, allocations: 17.88 kB / 431.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2625, allocations: 6.031 kB / 431.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.2634, allocations: 438.2 kB / 432.1 MB, free: 14.95 MB / 330.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.00156/0.265, allocations: 1.256 MB / 433.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.2658, allocations: 292.3 kB / 433.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.266, allocations: 111.1 kB / 433.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.266, allocations: 6.531 kB / 433.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.2661, allocations: 41.11 kB / 433.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.2661, allocations: 0 / 433.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.002822/0.2689, allocations: 0.7133 MB / 434.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.2689, allocations: 58.12 kB / 434.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2692, allocations: 462.5 kB / 435.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2692, allocations: 35.39 kB / 435.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.2693, allocations: 301.5 kB / 435.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.2694, allocations: 86.72 kB / 435.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.2695, allocations: 72.36 kB / 435.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.2696, allocations: 0.5301 MB / 436.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2698, allocations: 97.14 kB / 436.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.27, allocations: 87.55 kB / 436.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2704, allocations: 204.8 kB / 436.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2704, allocations: 0 / 436.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007701/0.2712, allocations: 362.7 kB / 436.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2712, allocations: 5.031 kB / 436.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2712, allocations: 0 / 436.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.2737, allocations: 369 kB / 437.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.274, allocations: 58.08 kB / 437.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.2748, allocations: 0.9565 MB / 438.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.2751, allocations: 18.55 kB / 438.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.2751, allocations: 13.36 kB / 438.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002685/0.2754, allocations: 239.2 kB / 438.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002009/0.2756, allocations: 126 kB / 438.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003536/0.2759, allocations: 191.1 kB / 438.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.2759, allocations: 0.7812 kB / 438.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.000823/0.2768, allocations: 353.4 kB / 439.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.2768, allocations: 5.906 kB / 439.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.2768, allocations: 0 / 439.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.2772, allocations: 92.53 kB / 439.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2775, allocations: 72.5 kB / 439.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2789, allocations: 1.965 MB / 441.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2791, allocations: 15.33 kB / 441.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.2792, allocations: 12.77 kB / 441.3 MB, free: 9.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (19): * Single equations (assignments): 18 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2793, allocations: 279.5 kB / 441.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/0.2794, allocations: 50.14 kB / 441.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.2802, allocations: 393 kB / 442 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2802, allocations: 3.125 kB / 442 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.2802, allocations: 0 / 442 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2802, allocations: 3.047 kB / 442 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.2806, allocations: 371.2 kB / 442.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2806, allocations: 2.938 kB / 442.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.2807, allocations: 34.36 kB / 442.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.2821, allocations: 236.9 kB / 442.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2821, allocations: 9.469 kB / 442.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005582/0.2827, allocations: 0.961 MB / 443.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2827, allocations: 4.031 kB / 443.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.2834, allocations: 0.4969 MB / 444.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.2835, allocations: 47.7 kB / 444.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.2835, allocations: 3.188 kB / 444.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2837, allocations: 9.781 kB / 444.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.2838, allocations: 31.44 kB / 444.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2838, allocations: 8.906 kB / 444.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.284, allocations: 309.9 kB / 444.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 444.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002443/0.2865, allocations: 1.001 MB / 445.5 MB, free: 7.223 MB / 330.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: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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 {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003641/0.2901, allocations: 1.096 MB / 446.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.2916, allocations: 0.5637 MB / 447.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2916, allocations: 0.875 kB / 447.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.292, allocations: 158.7 kB / 447.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.2932, allocations: 237.5 kB / 447.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2945, allocations: 0.7822 MB / 448.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2946, allocations: 217.9 kB / 448.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.2951, allocations: 417.7 kB / 448.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.2952, allocations: 33.66 kB / 449 MB, free: 5.688 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2952, allocations: 0 / 449 MB, free: 5.688 MB / 330.7 MB Notification: Performance of Templates: time 0.05822/0.3534, allocations: 37.02 MB / 486 MB, free: 1.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.171330709010363]