Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.001048/0.001048, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001009/0.001009, 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.9147/0.9147, allocations: 158.6 MB / 186.4 MB, free: 2.926 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.1838/0.1838, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.632e-05, allocations: 2.312 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.0237/0.02373, allocations: 28.79 MB / 382.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008737/0.03247, allocations: 8.701 MB / 391.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.03308, allocations: 31.69 kB / 391.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.03375, allocations: 226.1 kB / 391.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009943/0.03475, allocations: 0.5506 MB / 392.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.04596, allocations: 5.144 MB / 397.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.04769, allocations: 1.438 MB / 398.7 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.04844, allocations: 0.5154 MB / 399.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.04948, allocations: 0.7404 MB / 399.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.05008, allocations: 0.5024 MB / 400.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.05016, allocations: 64 kB / 400.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009408/0.05957, allocations: 5.872 MB / 406.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.05979, allocations: 175.2 kB / 406.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.06033, allocations: 319.2 kB / 406.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009661/0.06999, allocations: 4.84 MB / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.07, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.07, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.07001, allocations: 0 / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003621/0.07364, allocations: 1.611 MB / 413.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.07368, allocations: 8.031 kB / 413.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.07413, allocations: 212.1 kB / 413.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.07477, allocations: 0.5377 MB / 414.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.07479, allocations: 37.69 kB / 414.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.07486, allocations: 48.38 kB / 414.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.07596, allocations: 0.7634 MB / 414.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.07598, allocations: 8.109 kB / 414.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.07604, allocations: 35.92 kB / 415 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.07605, allocations: 12 kB / 415 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/0.07699, allocations: 0.5756 MB / 415.5 MB, free: 5.352 MB / 346.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.002334/0.07932, allocations: 2.61 MB / 418.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.07986, allocations: 287.1 kB / 418.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.08002, allocations: 107.6 kB / 418.5 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/0.1098, allocations: 16.8 MB / 435.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1099, allocations: 49.31 kB / 435.4 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004363/0.1103, allocations: 99.69 kB / 435.5 MB, free: 1.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.1103, allocations: 0 / 435.5 MB, free: 1.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.1832/0.2935, allocations: 1.401 MB / 436.9 MB, free: 69.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2936, allocations: 57.47 kB / 436.9 MB, free: 69.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.2941, allocations: 0.508 MB / 437.4 MB, free: 69.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.2941, allocations: 30.73 kB / 437.5 MB, free: 69.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.2943, allocations: 409.7 kB / 437.9 MB, free: 69.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.2944, allocations: 116 kB / 438 MB, free: 69.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2946, allocations: 91.34 kB / 438.1 MB, free: 69.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2947, allocations: 0.5375 MB / 438.6 MB, free: 68.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2948, allocations: 84.28 kB / 438.7 MB, free: 68.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.295, allocations: 138.3 kB / 438.8 MB, free: 68.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.2953, allocations: 242 kB / 439.1 MB, free: 68.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2953, allocations: 0 / 439.1 MB, free: 68.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007639/0.2961, allocations: 441.9 kB / 439.5 MB, free: 68.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2961, allocations: 7.047 kB / 439.5 MB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2961, allocations: 1.969 kB / 439.5 MB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.2999, allocations: 1.027 MB / 440.5 MB, free: 68.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3, allocations: 41.97 kB / 440.6 MB, free: 68.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3011, allocations: 1.108 MB / 441.7 MB, free: 67.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3014, allocations: 20.08 kB / 441.7 MB, free: 67.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.3014, allocations: 25.11 kB / 441.7 MB, free: 67.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002362/0.3017, allocations: 193.7 kB / 441.9 MB, free: 67.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001678/0.3018, allocations: 170.3 kB / 442.1 MB, free: 67.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000303/0.3021, allocations: 255.8 kB / 442.3 MB, free: 67.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/0.3022, allocations: 0.625 kB / 442.3 MB, free: 67.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006604/0.3028, allocations: 388.7 kB / 442.7 MB, free: 67.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3028, allocations: 9.781 kB / 442.7 MB, free: 67.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3028, allocations: 3.281 kB / 442.7 MB, free: 67.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.3031, allocations: 68.44 kB / 442.8 MB, free: 67.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3033, allocations: 86.31 kB / 442.9 MB, free: 67.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3043, allocations: 1.85 MB / 444.7 MB, free: 65.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.3046, allocations: 19.61 kB / 444.8 MB, free: 65.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3046, allocations: 18.27 kB / 444.8 MB, free: 65.28 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: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (18): * Single equations (assignments): 17 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.3048, allocations: 286.5 kB / 445 MB, free: 65.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3049, allocations: 73.31 kB / 445.1 MB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.3065, allocations: 1.231 MB / 446.4 MB, free: 64.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.3065, allocations: 22.17 kB / 446.4 MB, free: 64.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.3065, allocations: 7.203 kB / 446.4 MB, free: 64.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3065, allocations: 7.297 kB / 446.4 MB, free: 64.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.3073, allocations: 0.6113 MB / 447 MB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3073, allocations: 0.5 kB / 447 MB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3074, allocations: 32.44 kB / 447 MB, free: 64.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/0.3093, allocations: 1.166 MB / 448.2 MB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.3093, allocations: 16.3 kB / 448.2 MB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3105, allocations: 1.649 MB / 449.9 MB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3105, allocations: 4 kB / 449.9 MB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3116, allocations: 1.174 MB / 451 MB, free: 63.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.3118, allocations: 96.88 kB / 451.1 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.3118, allocations: 10.56 kB / 451.1 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.312, allocations: 17.72 kB / 451.2 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3121, allocations: 38.42 kB / 451.2 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3122, allocations: 20.19 kB / 451.2 MB, free: 63.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.3124, allocations: 341.4 kB / 451.6 MB, free: 63.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 451.6 MB, free: 63.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003001/0.3154, allocations: 1.13 MB / 452.7 MB, free: 63.13 MB / 362.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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003264/0.3187, allocations: 1.09 MB / 453.8 MB, free: 63.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3201, allocations: 0.6673 MB / 454.4 MB, free: 62.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3201, allocations: 0.875 kB / 454.4 MB, free: 62.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.3206, allocations: 323.2 kB / 454.8 MB, free: 62.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3216, allocations: 324.2 kB / 455.1 MB, free: 62.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.3239, allocations: 1.509 MB / 456.6 MB, free: 62.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.324, allocations: 179.3 kB / 456.8 MB, free: 61.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.3244, allocations: 246.5 kB / 457 MB, free: 61.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.3245, allocations: 43.48 kB / 457 MB, free: 61.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.564e-06/0.3245, allocations: 0 / 457 MB, free: 61.93 MB / 362.7 MB Notification: Performance of Templates: time 0.03996/0.3645, allocations: 41.61 MB / 498.7 MB, free: 22.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.51041455520317]