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.0008321/0.0008321, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001311/0.001311, allocations: 170.9 kB / 24.82 MB, free: 8.879 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.9038/0.9038, allocations: 158.6 MB / 186.7 MB, free: 2.754 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.1845/0.1845, allocations: 36.34 MB / 275.4 MB, free: 10.46 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.553e-06/1.553e-06, allocations: 0 / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.626e-05, allocations: 3.438 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02425/0.02426, allocations: 35.19 MB / 389.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.03284, allocations: 8.506 MB / 398 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.03327, allocations: 35.62 kB / 398 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.03382, allocations: 257.9 kB / 398.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000709/0.03453, allocations: 0.5429 MB / 398.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.04459, allocations: 5.575 MB / 404.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.04566, allocations: 1.446 MB / 405.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.046, allocations: 346 kB / 406.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.0465, allocations: 0.6624 MB / 406.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.04686, allocations: 422.6 kB / 407.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.04691, allocations: 40 kB / 407.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/0.05375, allocations: 5.845 MB / 413.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.05383, allocations: 127.3 kB / 413.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.054, allocations: 275.4 kB / 413.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.0581, allocations: 4.684 MB / 418.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.0581, allocations: 0 / 418.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0581, allocations: 0 / 418.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.05811, allocations: 0 / 418.2 MB, free: 2.992 MB / 346.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.001619/0.05973, allocations: 1.497 MB / 419.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.05976, allocations: 12.03 kB / 419.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.06001, allocations: 192.2 kB / 419.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.06042, allocations: 492 kB / 420.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.06044, allocations: 37.38 kB / 420.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.06047, allocations: 48.38 kB / 420.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.06095, allocations: 0.5551 MB / 421 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.06097, allocations: 4.125 kB / 421 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.061, allocations: 28.02 kB / 421 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.06101, allocations: 12 kB / 421 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.0613, allocations: 235.4 kB / 421.3 MB, free: 15.74 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.001557/0.06285, allocations: 3.463 MB / 424.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.06308, allocations: 188.4 kB / 424.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.06312, allocations: 54.83 kB / 425 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1694/0.2325, allocations: 14.69 MB / 439.7 MB, free: 69.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2325, allocations: 42.2 kB / 439.7 MB, free: 69.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.2325, allocations: 0 / 439.7 MB, free: 69.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008003/0.2333, allocations: 304.8 kB / 440 MB, free: 69.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.2334, allocations: 135.3 kB / 440.1 MB, free: 69.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.2337, allocations: 0.5038 MB / 440.6 MB, free: 68.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2337, allocations: 30.89 kB / 440.7 MB, free: 68.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.2339, allocations: 422.3 kB / 441.1 MB, free: 68.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.2339, allocations: 47.62 kB / 441.1 MB, free: 68.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.234, allocations: 57.94 kB / 441.2 MB, free: 68.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.2341, allocations: 0.5334 MB / 441.7 MB, free: 68.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.2341, allocations: 35.45 kB / 441.8 MB, free: 68.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.2342, allocations: 137.3 kB / 441.9 MB, free: 68.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2344, allocations: 166.3 kB / 442 MB, free: 67.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2344, allocations: 1.375 kB / 442.1 MB, free: 67.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002455/0.2346, allocations: 219.4 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2346, allocations: 6.875 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2346, allocations: 6.25 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2346, allocations: 4.125 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2348, allocations: 54.48 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2348, allocations: 4.125 kB / 442.3 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.235, allocations: 19.94 kB / 442.4 MB, free: 67.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.235, allocations: 14.97 kB / 442.4 MB, free: 67.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.583e-05/0.2351, allocations: 146.2 kB / 442.5 MB, free: 67.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.769e-05/0.2352, allocations: 227.4 kB / 442.7 MB, free: 67.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001354/0.2353, allocations: 276.8 kB / 443 MB, free: 67.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.2353, allocations: 0.9688 kB / 443 MB, free: 67.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002244/0.2355, allocations: 227.1 kB / 443.2 MB, free: 67.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.2355, allocations: 7 kB / 443.2 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2355, allocations: 10.03 kB / 443.2 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.2355, allocations: 6.75 kB / 443.3 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2357, allocations: 56.89 kB / 443.3 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2357, allocations: 10.94 kB / 443.3 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2358, allocations: 17.03 kB / 443.3 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2358, allocations: 10.91 kB / 443.3 MB, free: 67.05 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 0.0001059/0.2359, allocations: 292.3 kB / 443.6 MB, free: 66.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.236, allocations: 60.09 kB / 443.7 MB, free: 66.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.2363, allocations: 357.9 kB / 444 MB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2363, allocations: 1.406 kB / 444 MB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2363, allocations: 0.8125 kB / 444 MB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2363, allocations: 2.031 kB / 444 MB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.2367, allocations: 360.7 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2368, allocations: 4.438 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.2368, allocations: 18.88 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2368, allocations: 6.75 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2368, allocations: 1.375 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2368, allocations: 4.375 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2368, allocations: 1.375 kB / 444.4 MB, free: 66.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.2371, allocations: 0.6439 MB / 445.1 MB, free: 65.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2371, allocations: 59.62 kB / 445.1 MB, free: 65.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.2372, allocations: 31.94 kB / 445.2 MB, free: 65.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2373, allocations: 1.344 kB / 445.2 MB, free: 65.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.2373, allocations: 13.92 kB / 445.2 MB, free: 65.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2373, allocations: 7.188 kB / 445.2 MB, free: 65.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.2377, allocations: 476.7 kB / 445.7 MB, free: 65.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2377, allocations: 4 kB / 445.7 MB, free: 65.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002547/0.2402, allocations: 1.105 MB / 446.8 MB, free: 65.71 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.002317/0.2425, allocations: 1.096 MB / 447.9 MB, free: 65.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2428, allocations: 157.3 kB / 448 MB, free: 65.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2428, allocations: 3.75 kB / 448 MB, free: 65.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.2428, allocations: 44.62 kB / 448.1 MB, free: 65.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.2437, allocations: 301.4 kB / 448.4 MB, free: 65.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.245, allocations: 1.075 MB / 449.4 MB, free: 64.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.399e-05/0.2451, allocations: 142.2 kB / 449.6 MB, free: 64.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.2453, allocations: 259.1 kB / 449.8 MB, free: 64.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.2456, allocations: 224.7 kB / 450 MB, free: 64.69 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2456, allocations: 0 / 450 MB, free: 64.69 MB / 362.7 MB Notification: Performance of Templates: time 0.03282/0.2784, allocations: 41.31 MB / 491.4 MB, free: 29.18 MB / 362.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.19784579705447]