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.0009943/0.0009943, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.002024/0.002024, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9718/0.9718, allocations: 158.6 MB / 186.4 MB, free: 2.484 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.1654/0.1654, allocations: 36.33 MB / 275.1 MB, free: 10.62 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 2.705e-06/2.705e-06, allocations: 3.984 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.839e-05, allocations: 2.312 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.02068/0.0207, allocations: 19.81 MB / 373.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009878/0.03058, allocations: 8.273 MB / 381.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.0308, allocations: 7.938 kB / 381.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.03125, allocations: 142.9 kB / 382 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.03168, allocations: 309.7 kB / 382.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007494/0.03918, allocations: 4.514 MB / 386.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.0398, allocations: 0.8015 MB / 387.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.0401, allocations: 226 kB / 387.9 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.04041, allocations: 395.1 kB / 388.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.04067, allocations: 251.2 kB / 388.5 MB, free: 0.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.0407, allocations: 28 kB / 388.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006411/0.04711, allocations: 5.794 MB / 394.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.04717, allocations: 79.66 kB / 394.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.0473, allocations: 171.6 kB / 394.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005752/0.05306, allocations: 4.451 MB / 399 MB, free: 6.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.05306, allocations: 7.984 kB / 399 MB, free: 6.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.05306, allocations: 0 / 399 MB, free: 6.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.05307, allocations: 0 / 399 MB, free: 6.039 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.001994/0.05507, allocations: 1.148 MB / 400.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.05511, allocations: 8.031 kB / 400.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.05541, allocations: 140.6 kB / 400.3 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.05573, allocations: 288.3 kB / 400.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.05575, allocations: 21.03 kB / 400.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.05579, allocations: 36.38 kB / 400.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.05629, allocations: 390 kB / 401 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.0563, allocations: 4.125 kB / 401.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.05633, allocations: 19.94 kB / 401.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.05635, allocations: 11.98 kB / 401.1 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.05665, allocations: 191.7 kB / 401.3 MB, free: 3.691 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.001208/0.05786, allocations: 1.687 MB / 403 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.05825, allocations: 211.1 kB / 403.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.05834, allocations: 59.61 kB / 403.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02898/0.08731, allocations: 16.8 MB / 420 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.08735, allocations: 41.27 kB / 420.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.365e-06/0.08735, allocations: 0 / 420.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002353/0.0897, allocations: 1.116 MB / 421.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.08974, allocations: 51.41 kB / 421.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.08993, allocations: 314.3 kB / 421.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.08995, allocations: 29.7 kB / 421.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.09006, allocations: 267.1 kB / 421.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.09012, allocations: 122.9 kB / 421.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.0902, allocations: 75.34 kB / 422 MB, free: 14.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.09032, allocations: 0.5118 MB / 422.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.09043, allocations: 79.58 kB / 422.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.09056, allocations: 141.6 kB / 422.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.0908, allocations: 217.8 kB / 423 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0908, allocations: 0 / 423 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004677/0.09127, allocations: 360 kB / 423.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.09129, allocations: 7.938 kB / 423.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.09129, allocations: 4 kB / 423.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.09155, allocations: 79.45 kB / 423.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.09174, allocations: 75.89 kB / 423.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006187/0.09235, allocations: 1.612 MB / 425.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.09245, allocations: 11.94 kB / 425.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.09248, allocations: 19.98 kB / 425.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001505/0.09263, allocations: 190.6 kB / 425.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001165/0.09274, allocations: 138.1 kB / 425.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002059/0.09295, allocations: 210 kB / 425.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.09295, allocations: 4.062 kB / 425.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0004154/0.09337, allocations: 339.8 kB / 426 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.09337, allocations: 4 kB / 426 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.09338, allocations: 7.938 kB / 426 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.09359, allocations: 91.38 kB / 426.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.09374, allocations: 71.91 kB / 426.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005867/0.09433, allocations: 1.612 MB / 427.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.09441, allocations: 8 kB / 427.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.09443, allocations: 19.98 kB / 427.8 MB, free: 8.652 MB / 362.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 (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 (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.0001185/0.09455, allocations: 284 kB / 428.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.0946, allocations: 47.77 kB / 428.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.09537, allocations: 0.7675 MB / 428.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.09538, allocations: 11.98 kB / 428.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.09539, allocations: 0 / 428.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.09539, allocations: 0 / 428.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.09575, allocations: 452.1 kB / 429.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.09576, allocations: 3.984 kB / 429.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.09592, allocations: 63.91 kB / 429.4 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.0962, allocations: 103.2 kB / 429.5 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.09622, allocations: 11.94 kB / 429.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005332/0.09675, allocations: 1.608 MB / 431.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09675, allocations: 0 / 431.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.09749, allocations: 0.8331 MB / 432 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.09758, allocations: 67.61 kB / 432 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.09761, allocations: 15.94 kB / 432 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.0977, allocations: 12.06 kB / 432 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.09776, allocations: 27.89 kB / 432.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.09777, allocations: 15.98 kB / 432.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.09788, allocations: 215 kB / 432.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09788, allocations: 0 / 432.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002024/0.0999, allocations: 0.9282 MB / 433.2 MB, free: 3.043 MB / 362.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.00237/0.1023, allocations: 1.075 MB / 434.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.103, allocations: 485.9 kB / 434.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.103, allocations: 0 / 434.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.1033, allocations: 244.9 kB / 435 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.1039, allocations: 160.3 kB / 435.2 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1055, allocations: 1.085 MB / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1056, allocations: 126.9 kB / 436.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.106, allocations: 190.6 kB / 436.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1062, allocations: 36.5 kB / 436.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1062, allocations: 4 kB / 436.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of Templates: time 0.1691/0.2753, allocations: 35.61 MB / 472.2 MB, free: 78.12 MB / 378.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.930971387308091]