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.0009154/0.0009154, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008693/0.0008693, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 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.785/0.785, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.1606/0.1606, allocations: 36.33 MB / 275.4 MB, free: 10.72 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.323e-06/1.323e-06, allocations: 0 / 353.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.54e-05, allocations: 2.312 kB / 353.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.02923/0.02924, allocations: 45.38 MB / 399.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.03683, allocations: 9.076 MB / 408.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.03707, allocations: 15.88 kB / 408.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.03757, allocations: 210.3 kB / 408.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.03798, allocations: 293.8 kB / 408.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008124/0.0461, allocations: 5.054 MB / 413.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.04671, allocations: 0.8288 MB / 414.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.04699, allocations: 226.8 kB / 414.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.04754, allocations: 0.4983 MB / 415.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.04778, allocations: 243.2 kB / 415.6 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.04781, allocations: 28 kB / 415.6 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006394/0.05421, allocations: 5.895 MB / 421.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.05427, allocations: 79.61 kB / 421.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.0544, allocations: 171.5 kB / 421.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00456/0.05896, allocations: 4.572 MB / 426.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.05897, allocations: 0 / 426.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.05897, allocations: 0 / 426.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.05897, allocations: 0 / 426.3 MB, free: 10.96 MB / 362.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.00169/0.06066, allocations: 1.214 MB / 427.6 MB, free: 9.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.0607, allocations: 8.031 kB / 427.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.06094, allocations: 120.5 kB / 427.7 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.06142, allocations: 325.2 kB / 428 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.06144, allocations: 25.03 kB / 428 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.06147, allocations: 32.38 kB / 428.1 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.062, allocations: 404 kB / 428.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.06202, allocations: 192 / 428.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.06204, allocations: 19.92 kB / 428.5 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.06205, allocations: 8 kB / 428.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.06238, allocations: 203.7 kB / 428.7 MB, free: 8.508 MB / 362.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.001242/0.06362, allocations: 1.955 MB / 430.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.06414, allocations: 218.1 kB / 430.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.06421, allocations: 47.36 kB / 430.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1416/0.2058, allocations: 16.86 MB / 447.7 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2059, allocations: 33.39 kB / 447.8 MB, free: 88.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.2059, allocations: 0 / 447.8 MB, free: 88.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006074/0.2065, allocations: 264.4 kB / 448 MB, free: 88.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.2065, allocations: 85.11 kB / 448.1 MB, free: 87.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.2067, allocations: 376.4 kB / 448.5 MB, free: 87.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2067, allocations: 29.7 kB / 448.5 MB, free: 87.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.2068, allocations: 287.7 kB / 448.8 MB, free: 87.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2068, allocations: 62.56 kB / 448.9 MB, free: 87.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2069, allocations: 61.78 kB / 448.9 MB, free: 87.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.2069, allocations: 0.5194 MB / 449.4 MB, free: 86.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.207, allocations: 39.67 kB / 449.5 MB, free: 86.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.2071, allocations: 126.6 kB / 449.6 MB, free: 86.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2072, allocations: 174.3 kB / 449.8 MB, free: 86.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2072, allocations: 0 / 449.8 MB, free: 86.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002477/0.2075, allocations: 214.2 kB / 450 MB, free: 86.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2075, allocations: 4 kB / 450 MB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2075, allocations: 4 kB / 450 MB, free: 86.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2075, allocations: 0 / 450 MB, free: 86.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2077, allocations: 63.89 kB / 450.1 MB, free: 86.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2077, allocations: 4 kB / 450.1 MB, free: 86.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2078, allocations: 28.72 kB / 450.1 MB, free: 85.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2078, allocations: 11.98 kB / 450.1 MB, free: 85.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.581e-05/0.2079, allocations: 162.9 kB / 450.3 MB, free: 85.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.215e-05/0.208, allocations: 140.8 kB / 450.4 MB, free: 85.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001241/0.2081, allocations: 188.1 kB / 450.6 MB, free: 85.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2081, allocations: 0 / 450.6 MB, free: 85.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002025/0.2083, allocations: 203.7 kB / 450.8 MB, free: 85.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.2083, allocations: 4 kB / 450.8 MB, free: 85.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.2083, allocations: 4 kB / 450.8 MB, free: 85.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.2083, allocations: 4 kB / 450.8 MB, free: 85.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2085, allocations: 64.17 kB / 450.9 MB, free: 85.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.2085, allocations: 4 kB / 450.9 MB, free: 85.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2086, allocations: 25.52 kB / 450.9 MB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2086, allocations: 15.5 kB / 450.9 MB, free: 85.09 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 6.271e-05/0.2087, allocations: 282.2 kB / 451.2 MB, free: 84.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.2087, allocations: 47.77 kB / 451.2 MB, free: 84.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.209, allocations: 277.2 kB / 451.5 MB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.209, allocations: 4 kB / 451.5 MB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.209, allocations: 4 kB / 451.5 MB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.209, allocations: 0 / 451.5 MB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2092, allocations: 340.4 kB / 451.8 MB, free: 84.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2092, allocations: 0 / 451.8 MB, free: 84.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.2094, allocations: 43.91 kB / 451.9 MB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2094, allocations: 0 / 451.9 MB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2094, allocations: 4 kB / 451.9 MB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2094, allocations: 4 kB / 451.9 MB, free: 84.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2094, allocations: 0 / 451.9 MB, free: 84.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.2096, allocations: 446.6 kB / 452.3 MB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.2096, allocations: 34.16 kB / 452.3 MB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2097, allocations: 18.7 kB / 452.4 MB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2098, allocations: 11.98 kB / 452.4 MB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2098, allocations: 23.91 kB / 452.4 MB, free: 83.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2098, allocations: 7.984 kB / 452.4 MB, free: 83.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.21, allocations: 330.8 kB / 452.7 MB, free: 83.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.21, allocations: 0 / 452.7 MB, free: 83.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001475/0.2115, allocations: 0.9645 MB / 453.7 MB, free: 82.3 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.001975/0.2135, allocations: 1.073 MB / 454.8 MB, free: 81.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.2137, allocations: 203.9 kB / 455 MB, free: 81.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2137, allocations: 4 kB / 455 MB, free: 81.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.2138, allocations: 59.78 kB / 455 MB, free: 81.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.2144, allocations: 191.5 kB / 455.2 MB, free: 80.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2154, allocations: 0.7507 MB / 456 MB, free: 80.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.2155, allocations: 104.6 kB / 456.1 MB, free: 79.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.2157, allocations: 151.8 kB / 456.2 MB, free: 79.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.2157, allocations: 40.48 kB / 456.3 MB, free: 79.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2157, allocations: 0 / 456.3 MB, free: 79.77 MB / 362.7 MB Notification: Performance of Templates: time 0.0239/0.2396, allocations: 33.86 MB / 490.1 MB, free: 45.92 MB / 362.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: 3.909037074074149]