Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.0009872/0.0009872, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00104/0.00104, allocations: 168.9 kB / 24.91 MB, free: 8.723 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 1.06/1.06, allocations: 158.6 MB / 186.8 MB, free: 2.797 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.2268/0.2268, allocations: 36.34 MB / 275.5 MB, free: 14.43 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 305.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.508e-05, allocations: 2.312 kB / 305.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01948/0.01951, allocations: 19.78 MB / 325 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008592/0.0281, allocations: 8.26 MB / 333.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.02837, allocations: 11.88 kB / 333.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.02886, allocations: 134.9 kB / 333.4 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.02937, allocations: 321.7 kB / 333.7 MB, free: 4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009385/0.03875, allocations: 4.093 MB / 337.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.03979, allocations: 0.8016 MB / 338.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.04016, allocations: 218 kB / 338.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.04061, allocations: 399 kB / 339.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.0409, allocations: 235.3 kB / 339.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.04093, allocations: 36 kB / 339.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008828/0.04976, allocations: 6.192 MB / 345.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.04986, allocations: 83.59 kB / 345.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.0501, allocations: 163.7 kB / 345.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007824/0.05793, allocations: 4.455 MB / 350.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05793, allocations: 0 / 350.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05794, allocations: 0 / 350.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.05794, allocations: 4 kB / 350.4 MB, free: 3.301 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002596/0.06054, allocations: 1.043 MB / 351.4 MB, free: 2.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.06058, allocations: 8.031 kB / 351.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.0609, allocations: 136.8 kB / 351.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.06121, allocations: 241.7 kB / 351.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.06123, allocations: 21.03 kB / 351.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.06127, allocations: 32.38 kB / 351.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.06176, allocations: 367.2 kB / 352.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.06177, allocations: 4.125 kB / 352.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.06179, allocations: 15.94 kB / 352.2 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.0618, allocations: 8 kB / 352.3 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.06206, allocations: 152.4 kB / 352.4 MB, free: 1.207 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.1548/0.2168, allocations: 1.166 MB / 353.6 MB, free: 39.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.2174, allocations: 170.3 kB / 353.7 MB, free: 39.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.2175, allocations: 40.97 kB / 353.8 MB, free: 39.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09929/0.3168, allocations: 58.24 MB / 412 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3168, allocations: 34.56 kB / 412 MB, free: 10.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.986e-06/0.3168, allocations: 4 kB / 412.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002303/0.3191, allocations: 0.9953 MB / 413 MB, free: 9.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3191, allocations: 58.59 kB / 413.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3193, allocations: 257.7 kB / 413.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3193, allocations: 31.08 kB / 413.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.3194, allocations: 185.9 kB / 413.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.3195, allocations: 129.5 kB / 413.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.3196, allocations: 72.75 kB / 413.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.3197, allocations: 347 kB / 414.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.3197, allocations: 48.09 kB / 414.2 MB, free: 8.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.3198, allocations: 92.73 kB / 414.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.32, allocations: 173.6 kB / 414.4 MB, free: 8.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.32, allocations: 3.75 kB / 414.4 MB, free: 8.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000377/0.3204, allocations: 253.5 kB / 414.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3204, allocations: 11.98 kB / 414.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3204, allocations: 1.797 kB / 414.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.3206, allocations: 68.58 kB / 414.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3209, allocations: 90.59 kB / 414.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005073/0.3214, allocations: 1.054 MB / 415.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3215, allocations: 10.56 kB / 415.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3215, allocations: 11.98 kB / 415.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001171/0.3217, allocations: 125.8 kB / 416 MB, free: 6.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.861e-05/0.3218, allocations: 105.6 kB / 416.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001418/0.3219, allocations: 155.4 kB / 416.3 MB, free: 6.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3219, allocations: 0 / 416.3 MB, free: 6.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0003115/0.3222, allocations: 242.6 kB / 416.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3222, allocations: 8 kB / 416.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3222, allocations: 0 / 416.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.3224, allocations: 74.19 kB / 416.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3227, allocations: 94.09 kB / 416.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005162/0.3232, allocations: 1.059 MB / 417.8 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3233, allocations: 7.062 kB / 417.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3233, allocations: 15.17 kB / 417.8 MB, free: 4.957 MB / 346.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: 3 (Tank1.liquidState.phase,Tank2.liquidState.phase,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3234, allocations: 203 kB / 418 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3235, allocations: 33.09 kB / 418 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/0.3241, allocations: 0.6775 MB / 418.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3241, allocations: 15.67 kB / 418.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3241, allocations: 0 / 418.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3241, allocations: 10.23 kB / 418.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.3245, allocations: 347.1 kB / 419 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3245, allocations: 4 kB / 419.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.325, allocations: 79.38 kB / 419.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.3252, allocations: 94.33 kB / 419.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3253, allocations: 7.922 kB / 419.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004119/0.3257, allocations: 1.069 MB / 420.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3257, allocations: 1.969 kB / 420.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.3262, allocations: 0.6703 MB / 421 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.3263, allocations: 55.53 kB / 421 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3263, allocations: 14.91 kB / 421 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.3264, allocations: 3.812 kB / 421 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.3265, allocations: 32.89 kB / 421.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3265, allocations: 4 kB / 421.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.3266, allocations: 96.47 kB / 421.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3266, allocations: 4 kB / 421.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002118/0.3287, allocations: 0.936 MB / 422.1 MB, free: 0.8125 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00255/0.3313, allocations: 1.134 MB / 423.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.3319, allocations: 394 kB / 423.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.3319, allocations: 1.859 kB / 423.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.3322, allocations: 192.5 kB / 423.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.3327, allocations: 166 kB / 424 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3343, allocations: 1.022 MB / 425 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/0.3343, allocations: 130.8 kB / 425.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.3346, allocations: 191.4 kB / 425.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3348, allocations: 153.1 kB / 425.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3348, allocations: 0 / 425.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Templates: time 0.04467/0.3795, allocations: 39.5 MB / 465 MB, free: 6.469 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6114103202708066]