Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00142/0.00142, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001566/0.001566, allocations: 161.7 kB / 24.26 MB, free: 176 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.491/1.491, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.1478/0.1478, allocations: 19.74 MB / 280.8 MB, free: 9.285 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.605e-05, allocations: 2.312 kB / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.0557/0.05573, allocations: 42.55 MB / 399.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.06969, allocations: 8.778 MB / 408.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.07003, allocations: 11.94 kB / 408.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.0708, allocations: 234.3 kB / 408.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007215/0.07152, allocations: 329.6 kB / 409.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1426/0.2141, allocations: 4.792 MB / 413.9 MB, free: 17.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.2151, allocations: 0.8473 MB / 414.7 MB, free: 17.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.2155, allocations: 209.6 kB / 414.9 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.2161, allocations: 427 kB / 415.4 MB, free: 17.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.2164, allocations: 260.3 kB / 415.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.2165, allocations: 34.91 kB / 415.6 MB, free: 17.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009958/0.2265, allocations: 5.952 MB / 421.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.2265, allocations: 85.39 kB / 421.7 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.2268, allocations: 167.5 kB / 421.8 MB, free: 17.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00676/0.2336, allocations: 4.753 MB / 426.6 MB, free: 16.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2336, allocations: 0.875 kB / 426.6 MB, free: 16.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2336, allocations: 0 / 426.6 MB, free: 16.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.2336, allocations: 0 / 426.6 MB, free: 16.99 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002407/0.236, allocations: 1.139 MB / 427.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2361, allocations: 8.438 kB / 427.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.2365, allocations: 143.8 kB / 427.9 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.2369, allocations: 305.6 kB / 428.2 MB, free: 16.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.237, allocations: 84.06 kB / 428.3 MB, free: 16.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.237, allocations: 37.39 kB / 428.3 MB, free: 16.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.2379, allocations: 457.6 kB / 428.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2379, allocations: 0 / 428.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.2379, allocations: 16.69 kB / 428.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2379, allocations: 9.25 kB / 428.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.2387, allocations: 362 kB / 429.1 MB, free: 16 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.001419/0.2401, allocations: 1.325 MB / 430.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.2408, allocations: 272.6 kB / 430.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.2411, allocations: 115.9 kB / 430.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05388/0.2949, allocations: 17.53 MB / 448.4 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.295, allocations: 44.27 kB / 448.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.295, allocations: 0 / 448.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004784/0.2998, allocations: 1.509 MB / 449.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.2998, allocations: 63.25 kB / 450 MB, free: 3.191 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3, allocations: 272.8 kB / 450.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3, allocations: 34.02 kB / 450.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3001, allocations: 214.8 kB / 450.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.3001, allocations: 132.5 kB / 450.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3002, allocations: 76.08 kB / 450.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.3003, allocations: 345.7 kB / 451 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.3005, allocations: 138.5 kB / 451.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.3008, allocations: 180.8 kB / 451.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.3013, allocations: 325 kB / 451.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3013, allocations: 0 / 451.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009137/0.3022, allocations: 477.4 kB / 452.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3022, allocations: 8 kB / 452.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3022, allocations: 0 / 452.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.3027, allocations: 95.88 kB / 452.2 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.3031, allocations: 89.33 kB / 452.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005838/0.3037, allocations: 1.113 MB / 453.4 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3039, allocations: 11.53 kB / 453.4 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3039, allocations: 20.3 kB / 453.5 MB, free: 200 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002782/0.3042, allocations: 229.3 kB / 453.7 MB, free: 32 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000299/0.3045, allocations: 171.4 kB / 453.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005301/0.305, allocations: 295.3 kB / 454.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.305, allocations: 0 / 454.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001032/0.3061, allocations: 465.7 kB / 454.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3061, allocations: 8 kB / 454.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3061, allocations: 0 / 454.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.3066, allocations: 91.69 kB / 454.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3069, allocations: 88.91 kB / 454.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.308, allocations: 1.107 MB / 455.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3082, allocations: 12.45 kB / 455.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3083, allocations: 15 kB / 455.9 MB, free: 14.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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.0002129/0.3085, allocations: 206 kB / 456.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3086, allocations: 48.45 kB / 456.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.3104, allocations: 1.027 MB / 457.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.3104, allocations: 15.92 kB / 457.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3104, allocations: 0 / 457.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3104, allocations: 5.062 kB / 457.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.3112, allocations: 499.9 kB / 457.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3112, allocations: 0 / 457.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.3116, allocations: 75.05 kB / 457.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/0.3123, allocations: 145.5 kB / 457.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.3123, allocations: 12 kB / 457.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.3135, allocations: 1.195 MB / 459.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3135, allocations: 0 / 459.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.3158, allocations: 1.172 MB / 460.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.3159, allocations: 79.58 kB / 460.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.316, allocations: 8 kB / 460.4 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3162, allocations: 12 kB / 460.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3163, allocations: 35.81 kB / 460.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.3164, allocations: 12 kB / 460.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3166, allocations: 191.1 kB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3166, allocations: 0 / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003165/0.3198, allocations: 0.9438 MB / 461.6 MB, free: 8.637 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: 5 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003949/0.3237, allocations: 1.092 MB / 462.7 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.3255, allocations: 0.6687 MB / 463.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3255, allocations: 0 / 463.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.3263, allocations: 352.3 kB / 463.7 MB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3274, allocations: 189.6 kB / 463.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3296, allocations: 1.131 MB / 465 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3299, allocations: 241.6 kB / 465.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005997/0.3305, allocations: 333.8 kB / 465.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3306, allocations: 44.48 kB / 465.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.3306, allocations: 0 / 465.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of Templates: time 0.05791/0.3885, allocations: 35.69 MB / 0.4895 GB, free: 1.23 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2316959869349375]