Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.0009593/0.0009593, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001494/0.001494, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.8842/0.8842, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.1807/0.1807, allocations: 36.34 MB / 276.2 MB, free: 14.37 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 355.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.497e-05, allocations: 2.312 kB / 355.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02546/0.02548, allocations: 35.18 MB / 390.2 MB, free: 35.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008258/0.03374, allocations: 8.517 MB / 398.8 MB, free: 27.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.03425, allocations: 31.69 kB / 398.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006357/0.03488, allocations: 265.8 kB / 399 MB, free: 26.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.03568, allocations: 0.5313 MB / 399.6 MB, free: 26.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.04772, allocations: 5.581 MB / 405.2 MB, free: 20.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.04899, allocations: 1.438 MB / 406.6 MB, free: 19.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.04943, allocations: 357.9 kB / 406.9 MB, free: 18.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.05007, allocations: 0.6624 MB / 407.6 MB, free: 18.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.05051, allocations: 414.7 kB / 408 MB, free: 17.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.05056, allocations: 48 kB / 408.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007593/0.05816, allocations: 5.83 MB / 413.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.05824, allocations: 127.3 kB / 414 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.05844, allocations: 271.4 kB / 414.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.0635, allocations: 4.688 MB / 419 MB, free: 6.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.06351, allocations: 0 / 419 MB, free: 6.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06351, allocations: 7.938 kB / 419 MB, free: 6.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.06352, allocations: 0 / 419 MB, free: 6.793 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001917/0.06544, allocations: 1.497 MB / 420.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.06547, allocations: 8.031 kB / 420.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.06573, allocations: 192.2 kB / 420.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.0661, allocations: 484.1 kB / 421.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.06612, allocations: 37.38 kB / 421.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.06615, allocations: 48.38 kB / 421.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.06659, allocations: 0.5628 MB / 421.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.0666, allocations: 4.125 kB / 421.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.06663, allocations: 27.94 kB / 421.8 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.06663, allocations: 16 kB / 421.8 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.0669, allocations: 223.5 kB / 422.1 MB, free: 3.555 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.001283/0.06818, allocations: 3.474 MB / 425.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.06844, allocations: 188.4 kB / 425.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.06848, allocations: 46.83 kB / 425.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02587/0.09435, allocations: 14.6 MB / 440.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.09438, allocations: 41.39 kB / 440.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.09438, allocations: 0 / 440.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007161/0.0951, allocations: 308.8 kB / 440.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.09515, allocations: 136.5 kB / 440.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.09574, allocations: 0.5023 MB / 441.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.09576, allocations: 33.64 kB / 441.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.09596, allocations: 426.6 kB / 441.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.09598, allocations: 39.64 kB / 441.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.09605, allocations: 55.33 kB / 441.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.09618, allocations: 0.5429 MB / 442.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.09623, allocations: 27.66 kB / 442.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.09632, allocations: 128.2 kB / 442.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.09647, allocations: 172.8 kB / 442.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09648, allocations: 0 / 442.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002517/0.09673, allocations: 214 kB / 443 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.09674, allocations: 12.06 kB / 443 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.09675, allocations: 4 kB / 443 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.09676, allocations: 11.92 kB / 443 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.09692, allocations: 51.91 kB / 443 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.09692, allocations: 4 kB / 443 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.09708, allocations: 19.88 kB / 443.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.09709, allocations: 15.98 kB / 443.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001021/0.0972, allocations: 149.7 kB / 443.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001075/0.0973, allocations: 225.8 kB / 443.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001628/0.09747, allocations: 276.5 kB / 443.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.09747, allocations: 4 kB / 443.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002262/0.09769, allocations: 233.5 kB / 443.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.0977, allocations: 4.625 kB / 443.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.09771, allocations: 12 kB / 444 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.09771, allocations: 4 kB / 444 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.09782, allocations: 63.84 kB / 444 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.09782, allocations: 11.92 kB / 444 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.09796, allocations: 19.89 kB / 444.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.09797, allocations: 12 kB / 444.1 MB, free: 12.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq1.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.21e-05/0.09807, allocations: 280 kB / 444.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.09815, allocations: 55.67 kB / 444.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.09844, allocations: 351 kB / 444.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.09844, allocations: 11.94 kB / 444.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.09844, allocations: 0 / 444.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.09845, allocations: 11.92 kB / 444.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.09886, allocations: 352.5 kB / 445.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.09886, allocations: 0 / 445.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.0989, allocations: 19.98 kB / 445.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.0989, allocations: 4 kB / 445.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.09891, allocations: 4 kB / 445.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.09891, allocations: 4 kB / 445.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09891, allocations: 0 / 445.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.09919, allocations: 0.6496 MB / 445.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.09924, allocations: 55.61 kB / 445.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.09929, allocations: 31.67 kB / 445.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.09945, allocations: 10.31 kB / 445.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.09947, allocations: 11.92 kB / 445.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.09947, allocations: 0 / 445.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.09975, allocations: 482.7 kB / 446.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09975, allocations: 0 / 446.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001955/0.1017, allocations: 1.099 MB / 447.5 MB, free: 9.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.002572/0.1043, allocations: 1.104 MB / 448.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1045, allocations: 159.4 kB / 448.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1045, allocations: 4 kB / 448.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.1045, allocations: 40.19 kB / 448.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.1054, allocations: 298.4 kB / 449.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1066, allocations: 1.085 MB / 450.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.447e-05/0.1067, allocations: 133.2 kB / 450.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.107, allocations: 251.8 kB / 450.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.1073, allocations: 230 kB / 450.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1073, allocations: 0 / 450.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of Templates: time 0.03829/0.1456, allocations: 41.46 MB / 492.2 MB, free: 12.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.77801445312798]