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.001406/0.001406, allocations: 88.33 kB / 20.95 MB, free: 3.578 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.001501/0.001501, allocations: 161.3 kB / 24.27 MB, free: 276 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.459/1.459, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.1497/0.1497, allocations: 19.73 MB / 280.8 MB, free: 9.289 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.793e-06/1.793e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.779e-05, allocations: 2.312 kB / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.06669/0.06672, allocations: 38.65 MB / 395.9 MB, free: 160 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.08159, allocations: 9.013 MB / 404.9 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.082, allocations: 15.81 kB / 404.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.08275, allocations: 222.3 kB / 405.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.08379, allocations: 349.3 kB / 405.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.0972, allocations: 4.954 MB / 410.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.0986, allocations: 0.9287 MB / 411.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.09903, allocations: 236.3 kB / 411.6 MB, free: 396 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1247/0.2237, allocations: 450.2 kB / 412 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.2243, allocations: 275 kB / 412.3 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.2243, allocations: 31.72 kB / 412.3 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.2348, allocations: 5.979 MB / 418.3 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2349, allocations: 96.47 kB / 418.4 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.2353, allocations: 188.5 kB / 418.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00814/0.2434, allocations: 4.829 MB / 423.4 MB, free: 19.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2434, allocations: 4.469 kB / 423.4 MB, free: 19.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2434, allocations: 0 / 423.4 MB, free: 19.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2434, allocations: 2.875 kB / 423.4 MB, free: 19.02 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.003581/0.247, allocations: 1.266 MB / 424.7 MB, free: 18.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.247, allocations: 13.89 kB / 424.7 MB, free: 18.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.2474, allocations: 142.9 kB / 424.8 MB, free: 18.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.2479, allocations: 382.1 kB / 425.2 MB, free: 18.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.248, allocations: 209.2 kB / 425.4 MB, free: 17.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.2481, allocations: 33.62 kB / 425.4 MB, free: 17.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2491, allocations: 481.6 kB / 425.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2491, allocations: 3.562 kB / 425.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2492, allocations: 18.47 kB / 425.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2492, allocations: 8.312 kB / 425.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.2503, allocations: 463.4 kB / 426.4 MB, free: 17.88 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.001571/0.2519, allocations: 1.039 MB / 427.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.2527, allocations: 296.7 kB / 427.7 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.253, allocations: 114 kB / 427.8 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.253, allocations: 9.031 kB / 427.8 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.253, allocations: 36.72 kB / 427.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.253, allocations: 0 / 427.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.003108/0.2562, allocations: 0.7401 MB / 428.6 MB, free: 17.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.2562, allocations: 61.91 kB / 428.7 MB, free: 17.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.2565, allocations: 349.8 kB / 429 MB, free: 17.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.2565, allocations: 32.42 kB / 429 MB, free: 17.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2566, allocations: 243.8 kB / 429.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.2566, allocations: 81.56 kB / 429.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.2567, allocations: 58.98 kB / 429.4 MB, free: 16.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.2568, allocations: 349.2 kB / 429.8 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.2571, allocations: 100.1 kB / 429.8 MB, free: 16.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.2573, allocations: 106.7 kB / 430 MB, free: 16.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.2578, allocations: 210.8 kB / 430.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2578, allocations: 1.094 kB / 430.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008762/0.2587, allocations: 377.2 kB / 430.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.2587, allocations: 5.25 kB / 430.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2587, allocations: 2.906 kB / 430.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/0.2613, allocations: 365.6 kB / 430.9 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.2616, allocations: 66.97 kB / 431 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/0.2625, allocations: 0.6797 MB / 431.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.2628, allocations: 24.7 kB / 431.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2628, allocations: 13.25 kB / 431.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003153/0.2631, allocations: 195.9 kB / 431.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002384/0.2634, allocations: 123.3 kB / 432 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004438/0.2638, allocations: 202.5 kB / 432.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.2638, allocations: 0 / 432.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.001006/0.2648, allocations: 365.4 kB / 432.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.2648, allocations: 5.406 kB / 432.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2648, allocations: 4.547 kB / 432.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.2653, allocations: 82.73 kB / 432.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.2656, allocations: 74.67 kB / 432.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2668, allocations: 1.435 MB / 434.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2671, allocations: 27.27 kB / 434.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2671, allocations: 13.56 kB / 434.2 MB, free: 14.49 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 8.922e-05/0.2672, allocations: 188.4 kB / 434.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.2673, allocations: 50.5 kB / 434.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008997/0.2682, allocations: 394.8 kB / 434.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2682, allocations: 3.25 kB / 434.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2682, allocations: 4 kB / 434.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2682, allocations: 4.875 kB / 434.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.2686, allocations: 302.8 kB / 435.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2686, allocations: 0 / 435.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2687, allocations: 35.38 kB / 435.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.2701, allocations: 236.6 kB / 435.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2701, allocations: 14.23 kB / 435.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005383/0.2706, allocations: 0.6982 MB / 436.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2706, allocations: 2.266 kB / 436.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.2714, allocations: 469.9 kB / 436.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.2715, allocations: 37.75 kB / 436.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.2716, allocations: 3.5 kB / 436.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2718, allocations: 13.83 kB / 436.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.2719, allocations: 35.62 kB / 436.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.2719, allocations: 11.59 kB / 436.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.2721, allocations: 254.6 kB / 436.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2721, allocations: 0 / 436.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003148/0.2752, allocations: 0.9969 MB / 437.9 MB, free: 13 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.004005/0.2792, allocations: 1.086 MB / 439 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2808, allocations: 0.5027 MB / 439.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2808, allocations: 0 / 439.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.2812, allocations: 149 kB / 439.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2824, allocations: 240.7 kB / 439.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.2839, allocations: 0.7782 MB / 440.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.284, allocations: 217.8 kB / 440.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.2845, allocations: 416.8 kB / 441.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2845, allocations: 37.23 kB / 441.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2845, allocations: 4 kB / 441.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Templates: time 0.05393/0.3385, allocations: 36.27 MB / 477.6 MB, free: 9.488 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.055433604051359]