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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 119.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 189.2 kB / 21.4 MB, free: 1.68 MB / 14.72 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 1.666/1.666, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4582/0.4582, allocations: 49.51 MB / 333.1 MB, free: 0.7422 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 76.64 kB / 471.9 MB, free: 40.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 62.35 MB / 0.5218 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08569/0.2159, allocations: 78.13 MB / 0.5981 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.2322, allocations: 11.13 MB / 0.6089 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2332, allocations: 23.81 kB / 0.609 GB, free: 8.258 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2346, allocations: 405.2 kB / 0.6093 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.236, allocations: 0.5122 MB / 0.6098 GB, free: 7.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01851/0.2545, allocations: 5.88 MB / 0.6156 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.2571, allocations: 1.369 MB / 0.6169 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.2578, allocations: 337.3 kB / 0.6172 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.2586, allocations: 490 kB / 0.6177 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007097/0.2593, allocations: 497.8 kB / 0.6182 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.2594, allocations: 44 kB / 0.6182 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.2739, allocations: 6.372 MB / 0.6244 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.2742, allocations: 131.3 kB / 0.6246 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.2749, allocations: 398 kB / 0.625 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.2869, allocations: 4.126 MB / 0.629 GB, free: 3.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2869, allocations: 0 / 0.629 GB, free: 3.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2869, allocations: 0 / 0.629 GB, free: 3.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2869, allocations: 3.938 kB / 0.629 GB, free: 3.668 MB / 494.1 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.004465/0.2914, allocations: 1.531 MB / 0.6305 GB, free: 2.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2914, allocations: 11.89 kB / 0.6305 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.2919, allocations: 120.3 kB / 0.6306 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.2928, allocations: 0.5311 MB / 0.6311 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.2928, allocations: 37.38 kB / 0.6312 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.2929, allocations: 48.38 kB / 0.6312 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2941, allocations: 0.6165 MB / 0.6318 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2941, allocations: 3.938 kB / 0.6318 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.2941, allocations: 24 kB / 0.6318 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.2942, allocations: 12 kB / 0.6318 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.295, allocations: 360.3 kB / 0.6322 GB, free: 228 kB / 494.1 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.003717/0.2987, allocations: 3.556 MB / 0.6357 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2992, allocations: 182.4 kB / 0.6358 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2993, allocations: 55.52 kB / 0.6359 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3922/0.6915, allocations: 32.12 MB / 0.6673 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.6915, allocations: 36.19 kB / 0.6673 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.6915, allocations: 2.969 kB / 0.6673 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001479/0.693, allocations: 363.1 kB / 0.6676 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.6931, allocations: 132.5 kB / 0.6678 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.6938, allocations: 0.7293 MB / 0.6685 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.6938, allocations: 25.7 kB / 0.6685 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.694, allocations: 361.4 kB / 0.6688 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.6941, allocations: 50.84 kB / 0.6689 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.6941, allocations: 49.16 kB / 0.6689 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.6942, allocations: 314 kB / 0.6692 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.6943, allocations: 55.69 kB / 0.6693 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.6944, allocations: 131 kB / 0.6694 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.6947, allocations: 197.6 kB / 0.6696 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6947, allocations: 3.969 kB / 0.6696 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004048/0.6951, allocations: 298.1 kB / 0.6699 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6951, allocations: 7.812 kB / 0.6699 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6951, allocations: 0 / 0.6699 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.6951, allocations: 3.969 kB / 0.6699 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.6954, allocations: 59.55 kB / 0.67 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6954, allocations: 3.969 kB / 0.67 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6958, allocations: 54.98 kB / 0.67 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.6958, allocations: 15.92 kB / 0.67 GB, free: 105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001673/0.696, allocations: 159.5 kB / 0.6702 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001137/0.6961, allocations: 185.5 kB / 0.6704 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002005/0.6963, allocations: 242.8 kB / 0.6706 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.6963, allocations: 3.969 kB / 0.6706 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003458/0.6967, allocations: 294.9 kB / 0.6709 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/0.6967, allocations: 7.844 kB / 0.6709 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6967, allocations: 3.969 kB / 0.6709 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.6967, allocations: 7.938 kB / 0.6709 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.6969, allocations: 58.78 kB / 0.671 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6969, allocations: 12.45 kB / 0.671 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.6972, allocations: 20.95 kB / 0.671 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.6972, allocations: 19.66 kB / 0.671 GB, free: 104.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.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.223e-05/0.6973, allocations: 192.8 kB / 0.6712 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6974, allocations: 82.14 kB / 0.6713 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.698, allocations: 0.502 MB / 0.6718 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.698, allocations: 6.484 kB / 0.6718 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.698, allocations: 0 / 0.6718 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.698, allocations: 11.95 kB / 0.6718 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.6987, allocations: 0.6101 MB / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6987, allocations: 3.875 kB / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.6987, allocations: 23.8 kB / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6987, allocations: 7.359 kB / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.6988, allocations: 0 / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6988, allocations: 7.75 kB / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6988, allocations: 0 / 0.6724 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.6991, allocations: 0.5114 MB / 0.6729 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.6992, allocations: 154.5 kB / 0.6731 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.6993, allocations: 32.39 kB / 0.6731 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.6996, allocations: 3.938 kB / 0.6731 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.6996, allocations: 15.89 kB / 0.6731 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.6997, allocations: 3.938 kB / 0.6731 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006695/0.7003, allocations: 0.7321 MB / 0.6738 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7003, allocations: 0 / 0.6738 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003113/0.7034, allocations: 1.057 MB / 0.6749 GB, free: 102.1 MB / 0.4981 GB 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.002973/0.7064, allocations: 0.9795 MB / 0.6758 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.7068, allocations: 209.6 kB / 0.676 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7068, allocations: 0.625 kB / 0.676 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.7068, allocations: 35.92 kB / 0.6761 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.7091, allocations: 458.1 kB / 0.6765 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.7104, allocations: 1.164 MB / 0.6776 GB, free: 99.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.7106, allocations: 0.9323 MB / 0.6785 GB, free: 98.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.7107, allocations: 55.42 kB / 0.6786 GB, free: 98.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.7107, allocations: 0 / 0.6786 GB, free: 98.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.02994/0.7407, allocations: 24.45 MB / 0.7025 GB, free: 74.39 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.533557296032086] Failed to read output from testmodel.py, exit status != 0: 0.7486467640846968 0.757041251 0.46782874599999996 Calling exit ...