Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009393/0.0009393, 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.0009176/0.0009176, allocations: 161.4 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.7952/0.7952, allocations: 158.6 MB / 186.4 MB, free: 2.887 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.1717/0.1717, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.417e-05, allocations: 3.438 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01666/0.01668, allocations: 24.5 MB / 378.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.02377, allocations: 8.316 MB / 386.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.02396, allocations: 19.81 kB / 386.6 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.02436, allocations: 158.8 kB / 386.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.02477, allocations: 293.8 kB / 387.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007725/0.0325, allocations: 4.946 MB / 392 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.03311, allocations: 0.8289 MB / 392.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.03338, allocations: 246.5 kB / 393.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.03393, allocations: 0.4945 MB / 393.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.03416, allocations: 239.3 kB / 393.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.0342, allocations: 32 kB / 393.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.04029, allocations: 5.805 MB / 399.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.04035, allocations: 87.61 kB / 399.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.04048, allocations: 167.6 kB / 399.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.04435, allocations: 4.494 MB / 404.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.04435, allocations: 4 kB / 404.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04435, allocations: 0 / 404.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.04436, allocations: 0 / 404.4 MB, free: 0.6445 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001509/0.04586, allocations: 1.194 MB / 405.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.0459, allocations: 12.03 kB / 405.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.0461, allocations: 120.5 kB / 405.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.04641, allocations: 329.2 kB / 406.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.04643, allocations: 21.03 kB / 406.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.04647, allocations: 40.31 kB / 406.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.04696, allocations: 404 kB / 406.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.04697, allocations: 192 / 406.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.04699, allocations: 15.94 kB / 406.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.047, allocations: 8 kB / 406.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.04742, allocations: 191.7 kB / 406.7 MB, free: 14.21 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.001236/0.04866, allocations: 1.97 MB / 408.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.04914, allocations: 218.1 kB / 408.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.04921, allocations: 47.36 kB / 409 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02786/0.07707, allocations: 16.86 MB / 425.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.0771, allocations: 41.39 kB / 425.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.07711, allocations: 0 / 425.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006075/0.07771, allocations: 257.1 kB / 426.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.07775, allocations: 81.11 kB / 426.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.07799, allocations: 374.7 kB / 426.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.07802, allocations: 37.7 kB / 426.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.07815, allocations: 291.1 kB / 426.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.07818, allocations: 59.47 kB / 426.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.07824, allocations: 55.34 kB / 427 MB, free: 9.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.07837, allocations: 0.5157 MB / 427.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.07849, allocations: 43.66 kB / 427.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.07861, allocations: 125 kB / 427.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.07879, allocations: 177 kB / 427.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07879, allocations: 0 / 427.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002744/0.07907, allocations: 213.1 kB / 428 MB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.07908, allocations: 12.22 kB / 428.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.07909, allocations: 0 / 428.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.0791, allocations: 4 kB / 428.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.07929, allocations: 59.89 kB / 428.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.07929, allocations: 0 / 428.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.07943, allocations: 35.77 kB / 428.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.07944, allocations: 8 kB / 428.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001188/0.07956, allocations: 162.8 kB / 428.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.358e-05/0.07966, allocations: 140.8 kB / 428.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001454/0.0798, allocations: 172.7 kB / 428.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.0798, allocations: 0 / 428.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002255/0.08003, allocations: 217.1 kB / 428.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.08003, allocations: 11.98 kB / 428.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.08004, allocations: 4 kB / 428.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.08004, allocations: 4 kB / 428.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.08017, allocations: 55.91 kB / 428.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.08017, allocations: 8.281 kB / 428.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.08028, allocations: 27.88 kB / 428.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.08029, allocations: 8 kB / 429 MB, free: 7.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001074/0.08039, allocations: 287.9 kB / 429.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.08045, allocations: 39.77 kB / 429.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.08075, allocations: 276.5 kB / 429.5 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.08075, allocations: 4 kB / 429.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.08076, allocations: 4 kB / 429.6 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.08076, allocations: 7.984 kB / 429.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.08107, allocations: 332.2 kB / 429.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.08108, allocations: 0 / 429.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.08119, allocations: 47.91 kB / 429.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.08119, allocations: 0 / 429.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.08121, allocations: 7.984 kB / 429.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.08121, allocations: 0 / 429.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08121, allocations: 0 / 429.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.08148, allocations: 442.6 kB / 430.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.08151, allocations: 43.69 kB / 430.4 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.08155, allocations: 19.84 kB / 430.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.08168, allocations: 11.98 kB / 430.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.08172, allocations: 15.97 kB / 430.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.08173, allocations: 4 kB / 430.5 MB, free: 5.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.08194, allocations: 342.7 kB / 430.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08194, allocations: 0 / 430.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001537/0.08348, allocations: 0.9551 MB / 431.8 MB, free: 4.691 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002168/0.08564, allocations: 1.072 MB / 432.8 MB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.08595, allocations: 207.2 kB / 433 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.08595, allocations: 0 / 433 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.08603, allocations: 67.53 kB / 433.1 MB, free: 3.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.08661, allocations: 179.6 kB / 433.3 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.08778, allocations: 0.75 MB / 434 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.08784, allocations: 104.6 kB / 434.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.08805, allocations: 150.6 kB / 434.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.08812, allocations: 32.48 kB / 434.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.08812, allocations: 0 / 434.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of Templates: time 0.1409/0.229, allocations: 38.79 MB / 473.1 MB, free: 77.05 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.756152386777103]