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.0009777/0.0009777, 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.00112/0.00112, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.9541/0.9541, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.09807/0.09807, allocations: 19.73 MB / 281.6 MB, free: 9.168 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.402e-06/1.402e-06, allocations: 0 / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.643e-05, allocations: 2.969 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.02078/0.0208, allocations: 24.79 MB / 330 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007709/0.02851, allocations: 8.511 MB / 338.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.02885, allocations: 19.81 kB / 338.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.02931, allocations: 154.7 kB / 338.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.02979, allocations: 325.5 kB / 339 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008982/0.03877, allocations: 4.688 MB / 343.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.0397, allocations: 0.9376 MB / 344.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.04002, allocations: 238.9 kB / 344.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.0407, allocations: 0.5374 MB / 345.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.04099, allocations: 259.2 kB / 345.7 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.04103, allocations: 32 kB / 345.7 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/0.04884, allocations: 6.231 MB / 351.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.04896, allocations: 95.53 kB / 352 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.04919, allocations: 191.5 kB / 352.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.05561, allocations: 4.548 MB / 356.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.05561, allocations: 0 / 356.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.05561, allocations: 3.938 kB / 356.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.05562, allocations: 0 / 356.8 MB, free: 10.57 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.002001/0.05762, allocations: 1.202 MB / 358 MB, free: 9.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.05766, allocations: 8.031 kB / 358 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.05797, allocations: 132.7 kB / 358.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.05836, allocations: 327.7 kB / 358.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/0.05846, allocations: 140 kB / 358.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.05849, allocations: 40.38 kB / 358.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/0.05905, allocations: 400.8 kB / 359 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.05906, allocations: 3.938 kB / 359 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.05909, allocations: 19.94 kB / 359 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.0591, allocations: 8 kB / 359 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.05947, allocations: 233.2 kB / 359.2 MB, free: 7.977 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.0009876/0.06046, allocations: 1.042 MB / 360.3 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.06104, allocations: 272.9 kB / 360.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.06111, allocations: 53.7 kB / 360.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.06129, allocations: 47.89 kB / 360.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.06131, allocations: 34.56 kB / 360.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.06132, allocations: 0 / 360.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.000616/0.06193, allocations: 310.8 kB / 361 MB, free: 6.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.06197, allocations: 85.05 kB / 361.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.06217, allocations: 343.3 kB / 361.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.06219, allocations: 29.7 kB / 361.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.06227, allocations: 201.4 kB / 361.6 MB, free: 5.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.06232, allocations: 87.2 kB / 361.7 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.06238, allocations: 53.66 kB / 361.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.06247, allocations: 358.7 kB / 362.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.06253, allocations: 32.84 kB / 362.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.0626, allocations: 77.11 kB / 362.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.06274, allocations: 130.5 kB / 362.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.06274, allocations: 0 / 362.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001873/0.06293, allocations: 168.1 kB / 362.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.06294, allocations: 4 kB / 362.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.06295, allocations: 3.938 kB / 362.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.06296, allocations: 4 kB / 362.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.06314, allocations: 67.88 kB / 362.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.06314, allocations: 16.05 kB / 362.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.06325, allocations: 23.88 kB / 362.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.06327, allocations: 12 kB / 362.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.517e-05/0.06336, allocations: 108.1 kB / 362.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.196e-05/0.06342, allocations: 77.11 kB / 362.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001094/0.06353, allocations: 118 kB / 362.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.06353, allocations: 4 kB / 362.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001627/0.0637, allocations: 147.7 kB / 363.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.06371, allocations: 11.98 kB / 363.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.06371, allocations: 4.125 kB / 363.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/0.06371, allocations: 4 kB / 363.1 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.06385, allocations: 63.89 kB / 363.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.06385, allocations: 4 kB / 363.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.06395, allocations: 31.81 kB / 363.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.06396, allocations: 8 kB / 363.2 MB, free: 3.781 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 8.81e-05/0.06404, allocations: 196.1 kB / 363.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.06409, allocations: 31.95 kB / 363.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.06432, allocations: 193.8 kB / 363.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.06433, allocations: 4 kB / 363.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.06433, allocations: 3.938 kB / 363.6 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.06433, allocations: 3.984 kB / 363.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.06458, allocations: 209.6 kB / 363.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.06458, allocations: 0 / 363.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.06471, allocations: 59.89 kB / 363.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.06471, allocations: 4 kB / 363.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.06473, allocations: 15.92 kB / 363.9 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.06473, allocations: 4 kB / 363.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.06473, allocations: 0 / 363.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.06493, allocations: 310.6 kB / 364.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.06498, allocations: 47.62 kB / 364.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.06501, allocations: 4 kB / 364.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.06513, allocations: 19.98 kB / 364.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.06518, allocations: 23.95 kB / 364.3 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.06519, allocations: 8 kB / 364.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.06528, allocations: 140.6 kB / 364.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06528, allocations: 4 kB / 364.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001742/0.06702, allocations: 0.9668 MB / 365.4 MB, free: 1.516 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.002263/0.06928, allocations: 1.151 MB / 366.6 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.06957, allocations: 185.7 kB / 366.8 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.06957, allocations: 4 kB / 366.8 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.06965, allocations: 72.69 kB / 366.8 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.07025, allocations: 211.2 kB / 367 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.07152, allocations: 0.7617 MB / 367.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.07158, allocations: 113.2 kB / 367.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.072, allocations: 444 kB / 368.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.07224, allocations: 169.2 kB / 368.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.774e-06/0.07225, allocations: 3.938 kB / 368.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of Templates: time 0.03559/0.1078, allocations: 38.56 MB / 407.1 MB, free: 7.914 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.066976435016841]