Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.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.001336/0.001336, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001536/0.001536, allocations: 174.4 kB / 24.91 MB, free: 8.27 MB / 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 0.9042/0.9042, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.0901/0.0901, allocations: 19.73 MB / 281.6 MB, free: 9.125 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.178e-05, allocations: 6.859 kB / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01945/0.01947, allocations: 24.75 MB / 329.9 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007557/0.02703, allocations: 8.5 MB / 338.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.02734, allocations: 23.75 kB / 338.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.02778, allocations: 158.7 kB / 338.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.02827, allocations: 329.5 kB / 338.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008828/0.0371, allocations: 5.132 MB / 344.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008679/0.03796, allocations: 0.9338 MB / 345 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.0383, allocations: 245.9 kB / 345.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.039, allocations: 0.5412 MB / 345.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.03928, allocations: 251.2 kB / 346 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.03932, allocations: 40 kB / 346.1 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00737/0.04669, allocations: 5.822 MB / 351.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.04682, allocations: 91.59 kB / 352 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.04707, allocations: 187.5 kB / 352.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007115/0.05418, allocations: 4.548 MB / 356.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.05419, allocations: 0 / 356.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.05419, allocations: 8 kB / 356.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.0542, allocations: 0 / 356.7 MB, free: 10.58 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002226/0.05642, allocations: 1.198 MB / 357.9 MB, free: 9.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.05646, allocations: 12.03 kB / 357.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.05674, allocations: 124.7 kB / 358 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.05711, allocations: 339.6 kB / 358.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.05719, allocations: 144 kB / 358.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.05722, allocations: 32.38 kB / 358.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.05773, allocations: 400.8 kB / 358.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.05774, allocations: 7.938 kB / 358.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.05776, allocations: 12 kB / 359 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.05777, allocations: 8 kB / 359 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.05811, allocations: 237.3 kB / 359.2 MB, free: 7.988 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.0009773/0.05909, allocations: 1.034 MB / 360.2 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.05963, allocations: 284.9 kB / 360.5 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.0597, allocations: 49.69 kB / 360.6 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.05989, allocations: 47.89 kB / 360.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.05991, allocations: 38.5 kB / 360.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.05991, allocations: 0 / 360.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005775/0.06049, allocations: 307.8 kB / 360.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.06053, allocations: 85.05 kB / 361 MB, free: 6.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.06074, allocations: 339.3 kB / 361.4 MB, free: 5.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.06076, allocations: 29.7 kB / 361.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.06085, allocations: 209.3 kB / 361.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.06089, allocations: 75.33 kB / 361.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.06095, allocations: 53.67 kB / 361.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.06104, allocations: 358.7 kB / 362.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.0611, allocations: 32.84 kB / 362.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.06117, allocations: 81.11 kB / 362.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.06131, allocations: 121.6 kB / 362.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.06131, allocations: 0 / 362.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002035/0.06151, allocations: 170.5 kB / 362.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.06153, allocations: 8 kB / 362.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.06154, allocations: 0 / 362.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.06155, allocations: 4 kB / 362.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.06172, allocations: 67.89 kB / 362.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.06172, allocations: 3.938 kB / 362.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.06185, allocations: 31.81 kB / 362.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.06186, allocations: 7.984 kB / 362.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001038/0.06197, allocations: 120.1 kB / 362.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.469e-05/0.06203, allocations: 81.09 kB / 362.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001108/0.06214, allocations: 111.2 kB / 362.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.06214, allocations: 4 kB / 362.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001686/0.06231, allocations: 160.4 kB / 363 MB, free: 3.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.06232, allocations: 8 kB / 363.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.06232, allocations: 0 / 363.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.06232, allocations: 4 kB / 363.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.06245, allocations: 64.02 kB / 363.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.06245, allocations: 0 / 363.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.06256, allocations: 35.8 kB / 363.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.06257, allocations: 8 kB / 363.2 MB, free: 3.797 MB / 330.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: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.06266, allocations: 192.2 kB / 363.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.06272, allocations: 31.95 kB / 363.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.06295, allocations: 190.7 kB / 363.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.06296, allocations: 4 kB / 363.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.06296, allocations: 3.938 kB / 363.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.06297, allocations: 3.984 kB / 363.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.06324, allocations: 209.6 kB / 363.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.06324, allocations: 0 / 363.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.06336, allocations: 55.95 kB / 363.8 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.06336, allocations: 0 / 363.8 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.06337, allocations: 4 kB / 363.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.06338, allocations: 4 kB / 363.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.06338, allocations: 4 kB / 363.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.06358, allocations: 314.5 kB / 364.2 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.06362, allocations: 39.66 kB / 364.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.06365, allocations: 8 kB / 364.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.06377, allocations: 15.98 kB / 364.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.06382, allocations: 19.95 kB / 364.2 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.06383, allocations: 11.98 kB / 364.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.857e-05/0.06393, allocations: 144.6 kB / 364.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06393, allocations: 4 kB / 364.4 MB, free: 2.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001964/0.06589, allocations: 0.9785 MB / 365.4 MB, free: 1.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/0.06854, allocations: 1.147 MB / 366.5 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.06885, allocations: 187.4 kB / 366.7 MB, free: 200 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.06886, allocations: 4 kB / 366.7 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.06894, allocations: 78.39 kB / 366.8 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.06956, allocations: 214.3 kB / 367 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.07081, allocations: 0.7617 MB / 367.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.07088, allocations: 109.2 kB / 367.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.07131, allocations: 438.4 kB / 368.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.07155, allocations: 165.2 kB / 368.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.07155, allocations: 0 / 368.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Templates: time 0.03933/0.1109, allocations: 38.57 MB / 407 MB, free: 7.941 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.197612402960658]